summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_visitor.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-08-31 11:41:22 -0700
committerEric Anholt <[email protected]>2012-09-17 12:32:52 -0700
commit81dff4f752af786767f74ca54f89a879f57c18a6 (patch)
treea070e476ecabd9dfce624cdf64c37afdafa4dab9 /src/glsl/ir_visitor.h
parent3e165ba62cd607c1a3402b7db52789fc37b6876c (diff)
i965: Stop putting 8 NOPs after each prorgam.
As far as I can see, the intention of the requirement that we do so is to prevent instruction prefetch from wandering out into either unmapped memory or memory with a different caching type, and hanging the chip. The kernel makes sure that the page after your BO has a valid page of the same caching type, which meets this requirement, so there's no need to waste space between our programs (and in instruction cache) on this. Saves another 9kb instructions in l4d2 shaders. Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_visitor.h')
0 files changed, 0 insertions, 0 deletions