diff options
author | Tapani Pälli <[email protected]> | 2019-03-28 11:35:27 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-04-01 07:43:10 +0300 |
commit | 06f40f5765d79ee71dc6b5b1ae31055cee943ee5 (patch) | |
tree | 4afae83fe44366895625c781da14968bc410daa4 /src | |
parent | f0b472b3016c9625e1324fc7f70fc875e5926e00 (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')
-rw-r--r-- | src/compiler/spirv/vtn_glsl450.c | 2 |
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: |