i965/fs: Add missing get_latency_gen7() cases for the Gen7 pull constant opcodes.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 06:52:15 +0000 (23:52 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:21 +0000 (23:19 -0700)
commite531b7907a6a10922e09c42f9c78d3b59beab2b4
treebcaf3aab2b9e5116726182f4cfb06e226c0644b5
parented4d0e41acb78f268b8b5c2dd03f654d11c4460b
i965/fs: Add missing get_latency_gen7() cases for the Gen7 pull constant opcodes.

This was causing the scheduler to be rather optimistic about the
latency of pull constant opcodes on Gen7+.  This might seem to
increase the cycle count estimate calculated by the scheduler itself
for some shaders, even though the actual cycle count should actually
be decreased.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp