diff options
author | Ian Romanick <[email protected]> | 2014-06-20 16:26:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-09-12 16:51:51 -0700 |
commit | a58ae205361ae44d8ca7b02851d0607658865dcc (patch) | |
tree | d3b159bac63bdeb2c516bff4d0a48aac16055f50 /src | |
parent | 80f93d69373a0a5c362b0be0f74155e0f769ecc7 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 927f5db46135b3eb63f401833b1e40a3be9ca4e0)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 216b788a7ee..619f2d56a57 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -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: * |