Mesa (master): pan/bi: Passthrough type for ATEST
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Apr 27 15:06:57 UTC 2020
Module: Mesa
Branch: master
Commit: 5f953b8f5076ad041af05bb1dce5bcf90297a3ac
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f953b8f5076ad041af05bb1dce5bcf90297a3ac
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu Apr 23 19:03:44 2020 -0400
pan/bi: Passthrough type for ATEST
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4766>
---
src/panfrost/bifrost/bifrost_compile.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index a28308b53a0..cdaf772709c 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -127,7 +127,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
},
.src_types = {
nir_type_uint32,
- nir_type_float32
+ nir_intrinsic_type(instr)
},
.swizzle = {
{ 0 },
@@ -151,7 +151,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
BIR_INDEX_REGISTER | 60 /* Can this be arbitrary? */,
},
.src_types = {
- nir_type_float32,
+ nir_intrinsic_type(instr),
nir_type_uint32
},
.swizzle = {
More information about the mesa-commit
mailing list