mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
nir/spirv: Handle the LOD parameter of OpImageQuerySizeLod
This commit is contained in:
parent
b1a1623293
commit
499f7c2f0b
1 changed files with 4 additions and 0 deletions
|
|
@ -1237,6 +1237,10 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode,
|
|||
break;
|
||||
}
|
||||
|
||||
/* For OpImageQuerySizeLod, we always have an LOD */
|
||||
if (opcode == SpvOpImageQuerySizeLod)
|
||||
(*p++) = vtn_tex_src(b, w[idx++], nir_tex_src_lod);
|
||||
|
||||
/* Figure out the base texture operation */
|
||||
nir_texop texop;
|
||||
switch (opcode) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue