microsoft/spirv_to_dxil: Discard PSIZ accesses
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 8 Nov 2021 12:51:59 +0000 (13:51 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 31 Jan 2022 20:21:25 +0000 (20:21 +0000)
commitc2eeba04c38ce4cfd59e024208f1a6598d115826
tree46018ad7095750f37a5ba48fac302fcf7e9fea46
parent5cd2bf837ddc2f8bff0853731d9323f16aea1931
microsoft/spirv_to_dxil: Discard PSIZ accesses

D3D12 doesn't support gl_PointSize, so let's consider PointSize is
always 1.0 and discard any PointSize access.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14765>
src/microsoft/spirv_to_dxil/spirv_to_dxil.c