aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-12-19 10:35:18 -0500
committerTomeu Vizoso <[email protected]>2019-12-20 09:10:26 +0100
commitccbc9a4e6785babb832bf11499fe7538c2a30952 (patch)
tree16acc898c3d574ab2b1ed6b73d5b55f6a3328b35 /src/panfrost/midgard/midgard_print.c
parent2eef9e050f6228d134aec07e2c7fadc9d0961049 (diff)
pan/midgard: Implement textureOffset for 2D textures
Fixes dEQP-GLES3.functional.shaders.texture_functions.textureoffset.sampler2d_fixed_fragment. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3169>
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 44fd888d584..4f3a52ebb91 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -166,6 +166,10 @@ mir_print_instruction(midgard_instruction *ins)
mir_print_index(ins->src[2]);
mir_print_swizzle(ins->swizzle[2]);
+ printf(", ");
+ mir_print_index(ins->src[3]);
+ mir_print_swizzle(ins->swizzle[3]);
+
if (ins->has_constants) {
uint32_t *uc = ins->constants;
float *fc = (float *) uc;