I bought an RX580 8gb, GPU-Z says 8gb but Dxdiag says it only has 4gb. Whats up with that?

shouldnt Dxdiag be accurate since details from it is what helps with troubleshooting when you deal with online helpers?
Or have i been scammed with what i bought?
4 answers 4