summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-06-17 13:06:18 -0700
committerKenneth Graunke <[email protected]>2015-10-28 22:05:08 -0700
commit8c902a580a490181e7cde29073b11181db4614f8 (patch)
tree257fb3e408e1e87771759acf57832c3f5572f484 /docs
parent5392328a3218c0a69301badefe8fed79ca0d8642 (diff)
i965: Implement ARB_fragment_layer_viewport.
Normally, we could read gl_Layer from bits 26:16 of R0.0. However, the specification requires that bogus out-of-range 32-bit values written by previous stages need to appear in the fragment shader as-written. Instead, we pass in the full 32-bit value from the VUE header as an extra flat-shaded varying. We have the SF override the value to 0 when the previous stage didn't actually write a value (it's actually defined to return 0). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions