gallium/draw: Enable polygon stipple NIR helpers to generate bool1 or bool32 Booleans
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 23 Jan 2023 22:59:29 +0000 (14:59 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 29 Jan 2023 04:42:32 +0000 (20:42 -0800)
commit2f467fb154794fdd99c6975f9037d9bc8a0a6cf5
tree3eecaf264c2ec40976f11d85be4523124251dfd4
parentd3a95f0f713ff3a0216f0dfa634798a1db55ef27
gallium/draw: Enable polygon stipple NIR helpers to generate bool1 or bool32 Booleans

It appears that only softpipe, llvmpipe, and d3d12 hit any of this
code. If some NIR-to-TGSI driver that doesn't have native integers
(e.g., i915 or r300) wants to use this path in the future, it should be
easy to add float32 support.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20869>
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/nir/nir_draw_helpers.c
src/gallium/auxiliary/nir/nir_draw_helpers.h
src/gallium/drivers/d3d12/d3d12_compiler.cpp