mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-25 04:50:04 +00:00
parent
b014238e08
commit
21e3f681e2
2
DEPS
2
DEPS
@ -6,7 +6,7 @@ vars = {
|
||||
'effcee_revision': 'ddf5e2bb92957dc8a12c5392f8495333d6844133',
|
||||
'googletest_revision': 'bf0701daa9f5b30e5882e2f8f9a5280bcba87e77',
|
||||
're2_revision': '4244cd1cb492fa1d10986ec67f862964c073f844',
|
||||
'spirv_headers_revision': '29817199b7069bac971e5365d180295d4b077ebe',
|
||||
'spirv_headers_revision': '814e728b30ddd0f4509233099a3ad96fd4318c07',
|
||||
}
|
||||
|
||||
deps = {
|
||||
|
@ -52,7 +52,7 @@ inline bool IsTypeInst(SpvOp opcode) {
|
||||
}
|
||||
inline bool IsConstantInst(SpvOp opcode) {
|
||||
return (opcode >= SpvOpConstantTrue && opcode <= SpvOpSpecConstantOp) ||
|
||||
opcode == SpvOpConstFunctionPointerINTEL;
|
||||
opcode == SpvOpConstantFunctionPointerINTEL;
|
||||
}
|
||||
inline bool IsCompileTimeConstantInst(SpvOp opcode) {
|
||||
return opcode >= SpvOpConstantTrue && opcode <= SpvOpConstantNull;
|
||||
|
@ -115,7 +115,7 @@ TEST(IrBuilder, RoundTripFunctionPointer) {
|
||||
"%float = OpTypeFloat 32\n"
|
||||
"%4 = OpTypeFunction %float %float\n"
|
||||
"%_ptr_Function_4 = OpTypePointer Function %4\n"
|
||||
"%ptr_to_function = OpConstFunctionPointerINTEL %_ptr_Function_4 "
|
||||
"%ptr_to_function = OpConstantFunctionPointerINTEL %_ptr_Function_4 "
|
||||
"%some_function\n"
|
||||
"%some_function = OpFunction %float Const %4\n"
|
||||
"%6 = OpFunctionParameter %float\n"
|
||||
|
Loading…
Reference in New Issue
Block a user