summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/meson.build
diff options
context:
space:
mode:
authorAndreas Baierl <[email protected]>2019-04-26 15:01:43 +0200
committerQiang Yu <[email protected]>2019-04-29 02:46:44 +0000
commitb82de2b4d702789620f84c70577aa3e106d6ae4f (patch)
tree59133cbb3891d8a87dadcb45dde3bcb6e28ada6f /src/gallium/drivers/lima/meson.build
parent7050eccd77f6f435ab4c8ab4a31706e42b53817b (diff)
nir: add rcp(w) lowering for gl_FragCoord
On some hardware (e.g. Mali400) the shader needs to apply some transformations for correct gl_FragCoord handling. The lowering actions look like the following in pseudocode: gl_FragCoord.xyz = gl_FragCoord_orig.xyz gl_FragCoord.w = 1.0 / gl_FragCoord_orig.w Add this lowering as a nir pass in preparation for using it in the driver. Signed-off-by: Andreas Baierl <[email protected]> Reviewed-by: Qiang Yu <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/meson.build')
0 files changed, 0 insertions, 0 deletions