summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-26 16:32:15 -0800
committerKenneth Graunke <[email protected]>2013-12-03 16:24:58 -0800
commit26b7b50afeea8ff252501b9c9b10385960b236f0 (patch)
tree9b5c36ff4baa99712fb1d7a6dbf0fc3a025fb0d1 /src/mesa/main/texgetimage.h
parente03994bf47f9741a7a3a6181eb4f4d0cf286f70f (diff)
i965: Fix BRW_BATCH_STRUCT to specify RENDER_RING, not UNKNOWN_RING.
I missed this in the boolean -> enum conversion. C cheerfully casts false -> 0 -> UNKNOWN_RING. On Gen4-5, this causes the render ring prelude hook to get called in the middle of the batch, which is crazy. BRW_BATCH_STRUCT is not used on Gen6+. Fixes regressions since 395a32717df494353703f3581edcd3ba380f16d6 ("i965: Introduce an UNKNOWN_RING state."). Fixes "fips -v glxgears" on Ironlake. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/texgetimage.h')
0 files changed, 0 insertions, 0 deletions