pan/midgard: Fix fallthrough from offset to comparator

Fixes: ccbc9a4e67 ("pan/midgard: Implement textureOffset for 2D textures")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-12-20 12:58:10 -05:00
parent 64b2fe9626
commit 4ec1f95d76
1 changed files with 1 additions and 0 deletions

View File

@ -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: {