mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 20:50:44 +02:00
ttn: fix warning after 7bf76563e
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
702ff0b9a0
commit
ba8a50955d
1 changed files with 2 additions and 0 deletions
|
|
@ -1340,6 +1340,8 @@ ttn_tex(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src)
|
|||
case GLSL_SAMPLER_DIM_CUBE:
|
||||
instr->coord_components = 3;
|
||||
break;
|
||||
case GLSL_SAMPLER_DIM_SUBPASS:
|
||||
unreachable("invalid sampler_dim");
|
||||
}
|
||||
|
||||
if (instr->is_array)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue