i965: Request lowering gl_VertexID
Fixes the (new) piglit tests gles-3.0-drawarrays-vertexid, gl-3.0-multidrawarrays-vertexid, and gl-3.2-basevertex-vertexid. Fixes gles3conform failure in: ES3-CTS.gtf.GL3Tests.transform_feedback.transform_feedback_vertex_id Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80247 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
committed by
Kenneth Graunke
parent
fbb353bc13
commit
927f5db461
@@ -483,6 +483,7 @@ brw_initialize_context_constants(struct brw_context *brw)
|
||||
ctx->Const.QuadsFollowProvokingVertexConvention = false;
|
||||
|
||||
ctx->Const.NativeIntegers = true;
|
||||
ctx->Const.VertexID_is_zero_based = true;
|
||||
|
||||
/* Regarding the CMP instruction, the Ivybridge PRM says:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user