r600/sfn: use 32 bit bools

That's closer to what the driver actually does.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7142>
This commit is contained in:
Gert Wollny
2020-10-12 17:51:46 +02:00
committed by Marge Bot
parent 92a4d45bee
commit f79b7fcf7c
3 changed files with 35 additions and 2 deletions

View File

@@ -830,6 +830,8 @@ int r600_shader_from_nir(struct r600_context *rctx,
40,
r600_get_natural_size_align_bytes);
NIR_PASS_V(sel->nir, nir_lower_bool_to_int32);
while (optimize_once(sel->nir, true));
auto sh = nir_shader_clone(sel->nir, sel->nir);