From: David Neto Date: Fri, 16 Oct 2015 18:16:00 +0000 (-0400) Subject: Use literal integers for OpenCL extended instructions. X-Git-Tag: upstream/2018.6~1511^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bb8b70341f390c29be49d7e844020e44f542e49;p=platform%2Fupstream%2FSPIRV-Tools.git Use literal integers for OpenCL extended instructions. --- diff --git a/source/ext_inst.cpp b/source/ext_inst.cpp index dbceef1..5eaf1f6 100644 --- a/source/ext_inst.cpp +++ b/source/ext_inst.cpp @@ -103,7 +103,7 @@ static const spv_ext_inst_desc_t openclEntries[] = { #define List(...) \ { __VA_ARGS__ } #define OperandId SPV_OPERAND_TYPE_ID -#define OperandLiteralNumber SPV_OPERAND_TYPE_LITERAL_NUMBER +#define OperandLiteralNumber SPV_OPERAND_TYPE_LITERAL_INTEGER #define OperandFPRoundingMode SPV_OPERAND_TYPE_FP_ROUNDING_MODE #define OperandVariableIds SPV_OPERAND_TYPE_VARIABLE_ID #include "opencl_std_ext_inst.inc"