spirv: fix a compiler warning
Fixes implicit conversion from enumeration type 'SpvOp' warning. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
f0b472b301
commit
06f40f5765
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ vtn_handle_glsl450_instruction(struct vtn_builder *b, SpvOp ext_opcode,
|
|||
case GLSLstd450InterpolateAtCentroid:
|
||||
case GLSLstd450InterpolateAtSample:
|
||||
case GLSLstd450InterpolateAtOffset:
|
||||
handle_glsl450_interpolation(b, ext_opcode, w, count);
|
||||
handle_glsl450_interpolation(b, (enum GLSLstd450)ext_opcode, w, count);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue