ac/llvm: don't lower bool to int32, switch to native i1 bool
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7077>
This commit is contained in:
@@ -3019,9 +3019,7 @@ VkResult radv_create_shaders(struct radv_pipeline *pipeline,
|
||||
/* do this again since information such as outputs_read can be out-of-date */
|
||||
nir_shader_gather_info(nir[i], nir_shader_get_entrypoint(nir[i]));
|
||||
|
||||
if (radv_use_llvm_for_stage(device, i)) {
|
||||
NIR_PASS_V(nir[i], nir_lower_bool_to_int32);
|
||||
} else {
|
||||
if (!radv_use_llvm_for_stage(device, i)) {
|
||||
NIR_PASS_V(nir[i], nir_lower_non_uniform_access,
|
||||
nir_lower_non_uniform_ubo_access |
|
||||
nir_lower_non_uniform_ssbo_access |
|
||||
|
Reference in New Issue
Block a user