summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_glsl450.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-03-28 11:35:27 +0200
committerTapani Pälli <[email protected]>2019-04-01 07:43:10 +0300
commit06f40f5765d79ee71dc6b5b1ae31055cee943ee5 (patch)
tree4afae83fe44366895625c781da14968bc410daa4 /src/compiler/spirv/vtn_glsl450.c
parentf0b472b3016c9625e1324fc7f70fc875e5926e00 (diff)
spirv: fix a compiler warning
Fixes implicit conversion from enumeration type 'SpvOp' warning. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_glsl450.c')
-rw-r--r--src/compiler/spirv/vtn_glsl450.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_glsl450.c b/src/compiler/spirv/vtn_glsl450.c
index ead2afff1a0..adfdc1a790c 100644
--- a/src/compiler/spirv/vtn_glsl450.c
+++ b/src/compiler/spirv/vtn_glsl450.c
@@ -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: