projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c4ad4
)
Use literal integers for OpenCL extended instructions.
author
David Neto
<dneto@google.com>
Fri, 16 Oct 2015 18:16:00 +0000
(14:16 -0400)
committer
David Neto
<dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000
(12:55 -0400)
source/ext_inst.cpp
patch
|
blob
|
history
diff --git
a/source/ext_inst.cpp
b/source/ext_inst.cpp
index
dbceef1
..
5eaf1f6
100644
(file)
--- 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_
NUMB
ER
+#define OperandLiteralNumber SPV_OPERAND_TYPE_LITERAL_
INTEG
ER
#define OperandFPRoundingMode SPV_OPERAND_TYPE_FP_ROUNDING_MODE
#define OperandVariableIds SPV_OPERAND_TYPE_VARIABLE_ID
#include "opencl_std_ext_inst.inc"