i965: Don't request GLSL IR lowering of gl_VertexID
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Oct 2017 15:59:47 +0000 (08:59 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2018 21:16:07 +0000 (14:16 -0700)
commit19e0dd1ad3ad43ddc3aeba1e11852dce3f55d1f1
treef69a57ddbc247e79dbe92af18c0d245c5954fc61
parent2765633116da69c194fd815303605e91285201bb
i965: Don't request GLSL IR lowering of gl_VertexID

Let the lowering in NIR handle it instead.

This hurts one shader that occurs twice in shader-db (SynMark GSCloth)
on IVB and HSW.  No other shaders or platforms were affected.

total cycles in shared programs: 253438422 -> 253438426 (0.00%)
cycles in affected programs: 412 -> 416 (0.97%)
helped: 0
HURT: 2

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Antia Puentes <apuentes@igalia.com>
src/mesa/drivers/dri/i965/brw_context.c