Closed Valhally closed 1 year ago
Your assumption is correct, but if you draw points you must write the built-in pointSize output in your vertex shader. So unless you also changed the vertex shader used in this example, this is undefined behavior. The fact that one implementation is displaying something and the other isn't is then mostly purely random.
So try explicitly setting gl_PointSize
in the vertex shader of that sample and see if it then also displays correct on AMD.
P.S. : It's advised to run samples with validation layers in such cases, cause they'll hint at such problems.
That's exactly the reason thank you very much
The last three lines of code in the method are the ones I added, then I compile and run the "wait_idle" sample. On my desktop(R7 3700X and RTX 2070) it renders some points properly But on my laptop(R7 6800H, no discrete graphics card), nothing is displayed I can't figure out if it's the difference between the hardware or the difference between POINT_LIST and TRIANGLE_LIST that's causing this problem, or maybe it's something else.
Both computers have the latest Win11 system, VulkanSDK and graphics card drivers installed
Thanks