i965: Mark URB reads as volatile.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Apr 2016 01:49:22 +0000 (18:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Apr 2016 18:45:15 +0000 (11:45 -0700)
commit4e2d22c5a723f8a52ede916d170f4aa9a4f96fbb
tree985b46044a4f6fa0a4adad8f648ea308064961e8
parent501bedffa650c7d340d8f716736f6333c1317b34
i965: Mark URB reads as volatile.

They can be affected by URB writes.

In the upcoming scalar TCS backend, this prevents read-modify-write
cycles from being broken by CSE removing reads.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/mesa/drivers/dri/i965/brw_shader.cpp