diff options
author | Antia Puentes <[email protected]> | 2018-04-28 14:09:22 +0200 |
---|---|---|
committer | Antia Puentes <[email protected]> | 2018-05-02 11:24:46 +0200 |
commit | 3a1df14a7b5c1652aa72eb6cf43e69ab447c6273 (patch) | |
tree | b9aa5c98105b28027119cfaf2b2c2a611cdbdfbc /src/intel/compiler/brw_compiler.h | |
parent | 0fb204fac14cd2c7cf4a04f4060d4000bf5e3d35 (diff) |
intel: activate the gl_BaseVertex lowering
Surplus code related to the basevertex is removed.
The Vertex Elements contain now:
* VE 1: <firstvertex, BaseInstance, VertexID, InstanceID>
* VE 2: <DrawID, is_indexed_draw, 0, 0>
Also fixes unreachable message.
Fixes OpenGL CTS tests:
* KHR-GL46.shader_draw_parameters_tests.ShaderDrawArraysInstancedParameters
* KHR-GL46.shader_draw_parameters_tests.ShaderMultiDrawArraysParameters
* KHR-GL46.shader_draw_parameters_tests.MultiDrawArraysIndirectCountParameters
* KHR-GL46.shader_draw_parameters_tests.ShaderDrawArraysParameters
* KHR-GL46.shader_draw_parameters_tests.ShaderMultiDrawArraysIndirectParameters
Fixes Piglit tests:
* arb_shader_draw_parameters-drawid-indirect baseinstance
* arb_shader_draw_parameters-basevertex
Reviewed-by: Jason Ekstrand <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102678
Diffstat (limited to 'src/intel/compiler/brw_compiler.h')
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index e3bf535a519..8b4e6fe2e29 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -977,7 +977,6 @@ struct brw_vs_prog_data { bool uses_vertexid; bool uses_instanceid; - bool uses_basevertex; bool uses_is_indexed_draw; bool uses_firstvertex; bool uses_baseinstance; |