diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-12-20 12:58:10 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-12-24 23:46:22 +0000 |
commit | 4ec1f95d76b476dd602dca41e5a1065a2c0d6135 (patch) | |
tree | 351a88e103c2abe6539c729cb2a25a51312c9dea /src/panfrost | |
parent | 64b2fe96268a520fe595a7ac54ae5e964f1807b1 (diff) |
pan/midgard: Fix fallthrough from offset to comparator
Fixes: ccbc9a4e678 ("pan/midgard: Implement textureOffset for 2D textures")
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index f462100a280..1e61cf77dd2 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1849,6 +1849,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, ins.swizzle[3][c] = (c > COMPONENT_Z) ? 0 : c; emit_explicit_constant(ctx, index, index); + break; }; case nir_tex_src_comparator: { |