dzn: Handle depth bias for point fill mode emulation
authorJesse Natalie <jenatali@microsoft.com>
Fri, 21 Apr 2023 18:13:12 +0000 (11:13 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Apr 2023 15:36:01 +0000 (15:36 +0000)
commita12a15a9ea3835812420b64e4599be6d155fa3e4
treebd7d60330b35d1755eee9219718dc1e2c1d8e4e0
parent542febcf59af40694015de08fbbd1534adc2c470
dzn: Handle depth bias for point fill mode emulation

Fixes dEQP-VK.draw.renderpass.depth_bias.depth_bias_triangle_list_point

This is not complete, there's no slope scale or clamp handling, but it
does handle static or dynamic (though dynamic is untested).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22639>
src/microsoft/spirv_to_dxil/spirv_to_dxil.h
src/microsoft/vulkan/dzn_cmd_buffer.c
src/microsoft/vulkan/dzn_nir.c
src/microsoft/vulkan/dzn_nir.h
src/microsoft/vulkan/dzn_pipeline.c
src/microsoft/vulkan/dzn_private.h