summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2017-03-23 11:54:16 +0100
committerIago Toral Quiroga <[email protected]>2017-03-24 08:11:53 +0100
commit023ea3772dfcd81e6a5822a1812ff991d68cccd8 (patch)
tree84eed0e61e23318b9426860ee807190948124626 /src/intel/compiler
parent4da1832c00ab93cbf90b14501840dd698565a869 (diff)
nir/lower_wpos_center: support adding sample position to fragment coordinate
According to section 14.6 of the Vulkan specification: "When sample shading is enabled, the x and y components of FragCoord reflect the location of the sample corresponding to the shader invocation." So add a boolean parameter to the lowering pass to select this behavior when we need it. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler')
0 files changed, 0 insertions, 0 deletions