Summary: | [SNB+ Bisected]ES3-CTS.gtf.GL3Tests.uniform_buffer_object.uniform_buffer_object_getactiveuniformsiv_for_nonexistent_uniform_indices fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i965 | Assignee: | Tapani Pälli <lemody> |
Status: | VERIFIED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | high | CC: | idr |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch to fix the issue
fix |
Description
lu hua
2015-04-23 03:01:22 UTC
I see, with GetActiveUniformsiv if error is generated, nothing should be written to output, not even for valid entries ... this is a terrible API :/ Will fix my implementation to have extra loop for verifying each uniform. I've filed a bug to Khronos about this. I don't think the expectation of the test matches the current specifications where GetActiveUniformsiv should match behavior of GetProgramResourceiv. Created attachment 115287 [details] [review] patch to fix the issue here's the changes that change behavior to what the test expects Created attachment 115293 [details] [review] fix here's the fix (In reply to Tapani Pälli from comment #4) > Created attachment 115293 [details] [review] [review] > fix > > here's the fix Fixed by this patch. dEQP Core GL-CTS-2.0 (0x0052484b) starting.. target implementation = 'X11' Test case 'ES3-CTS.gtf.GL3Tests.uniform_buffer_object.uniform_buffer_object_getactiveuniformsiv_for_nonexistent_uniform_indices'.. INFO:uniform_buffer_object_getactiveuniformsiv_for_nonexistent_uniform_indices:-------------------------------- BEGIN --------------------------------- INFO:uniform_buffer_object_getactiveuniformsiv_for_nonexistent_uniform_indices:OK INFO:uniform_buffer_object_getactiveuniformsiv_for_nonexistent_uniform_indices:--------------------------------- END ---------------------------------- Pass (Pass) DONE! Test run totals: Passed: 1/1 (100.00%) Failed: 0/1 (0.00%) Not supported: 0/1 (0.00%) Warnings: 0/1 (0.00%) pushed to master Verified.Fixed. |
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.