mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 20:00:37 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue