Summary: | [i965] GS instancing (gl_InvocationID) reads garbage instead of what the vertex shader says | ||
---|---|---|---|
Product: | Mesa | Reporter: | Ben Russell <thematrixeatsyou> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Point-to-cube geometry shader with toggleable GS instancing
Results on Mesa 18.2.0 (Intel) Results on Mesa 12.1.0-devel (git-d10ae20) Results on Mesa 17.2.8 (Radeon) The shader_test to reproduce the issue |
Description
Ben Russell
2016-06-03 04:28:34 UTC
Could you please provide also an application and the vertex/fragment shaders which helped you to reproduce this issue? It would be very helpful and could expedite the issue solving. Created attachment 140004 [details]
Results on Mesa 18.2.0 (Intel)
Created attachment 140005 [details]
Results on Mesa 12.1.0-devel (git-d10ae20)
Created attachment 140006 [details]
Results on Mesa 17.2.8 (Radeon)
Created attachment 140007 [details]
The shader_test to reproduce the issue
I managed to reproduce this issue using geometry-point-to-cube-using-instancing.shader_test on Mesa 12.1.0 from revision d10ae20b9678f1a5b8a81716c68e612662665277. Note: To reproduce this issue you should press 'space' key (actually any key except 'escape') once or more times on the shader_runner screen and after that single black cube should appear in the center of the screen: But I could not reproduce this issue on Mesa 13.1.0 and Mesa 18.2.0. So I think that this issue was fixed at least in Mesa 13.1.0 or in earlier version. Should be covered by new piglit test. Closing. commit ad2158276164e40f52e8a8656256c1e03ac304f3 Author: Andrii Simiklit <asimiklit.work@gmail.com> Date: Tue Jun 5 16:33:00 2018 +0300 arb_gpu_shader5: Add a test for instanced GS inputs. None of our other tests for instanced geometry shaders transfered the vertices to the geometry shader from the vertex shader via gl_Position. This used to be broken with the i965 driver's in Mesa 12.1.0 on revision d10ae20b9678f1a5b8a81716c68e612662665277. Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96354 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.