mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
spirv: Pick the right bitsize when doing SpvUConvert
Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
parent
fd94a45823
commit
02d140ce9a
1 changed files with 1 additions and 0 deletions
|
|
@ -1926,6 +1926,7 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode,
|
|||
switch (opcode) {
|
||||
case SpvOpSConvert:
|
||||
case SpvOpFConvert:
|
||||
case SpvOpUConvert:
|
||||
/* We have a source in a conversion */
|
||||
src_alu_type =
|
||||
nir_get_nir_type_for_glsl_type(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue