spirv/opencl: Cast opcode up front to avoid warnings
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 3 Feb 2020 20:11:45 +0000 (12:11 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 06:03:52 +0000 (06:03 +0000)
commit0bc516fceb742e4c1ce2d47f129d19d8bb005d13
treea6765616c44fb2fc38d9109eefee39530f64682d
parent67dd51606ca1670e21ce414591cc48caaf2e2e9f
spirv/opencl: Cast opcode up front to avoid warnings

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
src/compiler/spirv/vtn_opencl.c