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:
parent
64b2fe9626
commit
4ec1f95d76
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue