summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-09-15 10:05:03 +0200
committerSamuel Iglesias Gonsálvez <[email protected]>2017-09-25 06:39:40 +0200
commitd2cd9deeb8db5941e99b149fa637f711198ca741 (patch)
tree4153daab3e9f4abdbddc2d3a182cd9ea5bcb9608 /src/amd/vulkan/radv_debug.h
parent3e544932658d87beb661a3e762621264733171df (diff)
anv: fix viewport transformation for z component
In Vulkan, for 'z' (depth) component, the scale and translate values for the viewport transformation are: pz = maxDepth - minDepth oz = minDepth zf = pz × zd + oz Being zd, the third component in vertex's normalized device coordinates. Fixes: dEQP-VK.draw.inverted_depth_ranges.* Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
0 files changed, 0 insertions, 0 deletions