Home
last modified time | relevance | path

Searched refs:OpSpecConstant (Results 1 - 25 of 48) sorted by relevance

12

/third_party/spirv-tools/test/
H A Dtext_to_binary.constant_test.cpp284 for (const auto& instruction : {"OpConstant", "OpSpecConstant"}) { in TEST_P()
378 "%2 = OpSpecConstant %1 " + in TEST_P()
392 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x1234})})},
395 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x8000})})},
398 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0xffff8000})})},
401 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-32)})})},
405 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 42})})},
408 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, uint32_t(-32)})})},
411 MakeInstruction(spv::Op::OpSpecConstant, {1, 2, 0x3f800000})})},
414 MakeInstruction(spv::Op::OpSpecConstant, {
[all...]
/third_party/spirv-tools/source/opt/
H A Dfreeze_spec_constant_value_pass.cpp26 case spv::Op::OpSpecConstant: in Process()
H A Dset_spec_constant_default_value_pass.cpp139 case spv::Op::OpSpecConstant: in CanHaveSpecIdDecoration()
225 // The in-operand index of the default value in a OpSpecConstant instruction. in Process()
232 // opcode: OpSpecConstant{|True|False}. The spec id of those spec constants in Process()
301 case spv::Op::OpSpecConstant: in Process()
H A Dtype_manager.cpp743 // Only OpSpecConstant has a SpecId. in RecordIfTypeDefinition()
746 if (length_constant_inst->opcode() == spv::Op::OpSpecConstant) { in RecordIfTypeDefinition()
760 (opcode == spv::Op::OpSpecConstant)) { in RecordIfTypeDefinition()
/third_party/spirv-tools/source/
H A Dopcode.cpp226 case spv::Op::OpSpecConstant: in spvOpcodeIsSpecConstant()
246 case spv::Op::OpSpecConstant: in spvOpcodeIsConstant()
263 case spv::Op::OpSpecConstant: in spvOpcodeIsScalarSpecConstant()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_parser.cpp787 case OpSpecConstant: in parse()
794 set<SPIRConstant>(id, ops[0], ops[2] | (uint64_t(ops[3]) << 32), op == OpSpecConstant); in parse()
796 set<SPIRConstant>(id, ops[0], ops[2], op == OpSpecConstant); in parse()
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/
H A Dspirv.cs714 OpSpecConstant = 50, enumerator
H A Dspirv.hpp709 OpSpecConstant = 50, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/
H A Dspirv.cs726 OpSpecConstant = 50, enumerator
H A Dspirv.hpp721 OpSpecConstant = 50, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/
H A Dspirv.cs731 OpSpecConstant = 50, enumerator
H A Dspirv.hpp726 OpSpecConstant = 50, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
H A Dspirv.cs714 OpSpecConstant = 50, enumerator
H A Dspirv.hpp709 OpSpecConstant = 50, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
H A Dspirv.cs726 OpSpecConstant = 50, enumerator
H A Dspirv.hpp721 OpSpecConstant = 50, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/
H A Dspirv.cs731 OpSpecConstant = 50, enumerator
H A Dspirv.hpp726 OpSpecConstant = 50, enumerator
/third_party/spirv-headers/include/spirv/1.0/
H A Dspirv.cs714 OpSpecConstant = 50, enumerator
H A Dspirv.hpp709 OpSpecConstant = 50, enumerator
/third_party/spirv-headers/include/spirv/1.1/
H A Dspirv.cs726 OpSpecConstant = 50, enumerator
H A Dspirv.hpp721 OpSpecConstant = 50, enumerator
/third_party/spirv-headers/include/spirv/1.2/
H A Dspirv.cs731 OpSpecConstant = 50, enumerator
/third_party/spirv-tools/source/val/
H A Dvalidate_constants.cpp350 // Validates that OpSpecConstant specializes to either int or float type.
446 case spv::Op::OpSpecConstant: in ConstantPass()
/third_party/glslang/SPIRV/
H A DSpvBuilder.cpp1496 case OpSpecConstant: in isConstantOpCode()
1511 case OpSpecConstant: in isSpecConstantOpCode()
1586 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeIntConstant()
1607 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeInt64Constant()
1632 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeFloatConstant()
1657 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeDoubleConstant()
1685 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeFloat16Constant()

Completed in 82 milliseconds

12