Mesa (master): glsl_to_nir: fix is_helper_invocation
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 18 03:59:22 UTC 2020
Module: Mesa
Branch: master
Commit: 8505e6757b2f7c312bbefaf7673ece73a6a82bad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8505e6757b2f7c312bbefaf7673ece73a6a82bad
Author: Rob Clark <robdclark at chromium.org>
Date: Tue Jun 16 16:36:32 2020 -0700
glsl_to_nir: fix is_helper_invocation
Reported-by: Karol Herbst <kherbst at redhat.com>
Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5505>
---
src/compiler/glsl/glsl_to_nir.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp
index a67e11be2cb..733e0430e5f 100644
--- a/src/compiler/glsl/glsl_to_nir.cpp
+++ b/src/compiler/glsl/glsl_to_nir.cpp
@@ -1586,7 +1586,6 @@ nir_visitor::visit(ir_call *ir)
}
case nir_intrinsic_is_helper_invocation: {
nir_ssa_dest_init(&instr->instr, &instr->dest, 1, 1, NULL);
- instr->num_components = 1;
nir_builder_instr_insert(&b, &instr->instr);
break;
}
More information about the mesa-commit
mailing list