Home
last modified time | relevance | path

Searched refs:specConstant (Results 1 – 16 of 16) sorted by relevance

/third_party/glslang/SPIRV/
DSpvBuilder.h296 Id makeBoolConstant(bool b, bool specConstant = false);
297 Id makeInt8Constant(int i, bool specConstant = false)
298 { return makeIntConstant(makeIntType(8), (unsigned)i, specConstant); }
299 Id makeUint8Constant(unsigned u, bool specConstant = false)
300 { return makeIntConstant(makeUintType(8), u, specConstant); }
301 Id makeInt16Constant(int i, bool specConstant = false)
302 { return makeIntConstant(makeIntType(16), (unsigned)i, specConstant); }
303 Id makeUint16Constant(unsigned u, bool specConstant = false)
304 { return makeIntConstant(makeUintType(16), u, specConstant); }
305 Id makeIntConstant(int i, bool specConstant = false)
[all …]
DSpvBuilder.cpp872 Id Builder::makeBoolConstant(bool b, bool specConstant) in makeBoolConstant() argument
876 …Op opcode = specConstant ? (b ? OpSpecConstantTrue : OpSpecConstantFalse) : (b ? OpConstantTrue : … in makeBoolConstant()
880 if (! specConstant) { in makeBoolConstant()
901 Id Builder::makeIntConstant(Id typeId, unsigned value, bool specConstant) in makeIntConstant() argument
903 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeIntConstant()
907 if (! specConstant) { in makeIntConstant()
922 Id Builder::makeInt64Constant(Id typeId, unsigned long long value, bool specConstant) in makeInt64Constant() argument
924 Op opcode = specConstant ? OpSpecConstant : OpConstant; in makeInt64Constant()
931 if (! specConstant) { in makeInt64Constant()
947 Id Builder::makeFloatConstant(float f, bool specConstant) in makeFloatConstant() argument
[all …]
DGlslangToSpv.cpp228 int& nextConst, bool specConstant);
8315 if (! node.getQualifier().specConstant) { in createSpvConstant()
8387 const glslang::TConstUnionArray& consts, int& nextConst, bool specConstant) in createSpvConstantFromConstUnionArray() argument
8464 … scalar = builder.makeIntConstant(zero ? 0 : consts[nextConst].getIConst(), specConstant); in createSpvConstantFromConstUnionArray()
8467 … scalar = builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst(), specConstant); in createSpvConstantFromConstUnionArray()
8470 …alar = builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConstant); in createSpvConstantFromConstUnionArray()
8473 … scalar = builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst(), specConstant); in createSpvConstantFromConstUnionArray()
8477 … scalar = builder.makeInt8Constant(zero ? 0 : consts[nextConst].getI8Const(), specConstant); in createSpvConstantFromConstUnionArray()
8480 … scalar = builder.makeUint8Constant(zero ? 0 : consts[nextConst].getU8Const(), specConstant); in createSpvConstantFromConstUnionArray()
8483 … scalar = builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const(), specConstant); in createSpvConstantFromConstUnionArray()
[all …]
/third_party/glslang/Test/baseResults/
Dspv.specConstant.comp.out1 spv.specConstant.comp
Dspv.specConstant.int8.comp.out1 spv.specConstant.int8.comp
Dspv.specConstant.int16.comp.out1 spv.specConstant.int16.comp
Dspv.specConstant.float16.comp.out1 spv.specConstant.float16.comp
Dspv.specConstant.vert.out1 spv.specConstant.vert
Dhlsl.specConstant.frag.out1 hlsl.specConstant.frag
/third_party/glslang/glslang/Include/
DTypes.h511 specConstant = false; in makeTemporary()
568 bool specConstant : 1; variable
1034 return specConstant; in isSpecConstant()
1040 return storage == EvqConst && ! specConstant; in isFrontEndConstant()
1050 specConstant = true; in makeSpecConstant()
2153 if (qualifier.specConstant) in getCompleteString()
/third_party/spirv-tools/test/opt/
Daggressive_dead_code_elim_test.cpp6537 ; CHECK: OpName %specConstant "specConstant" in TEST_F()
6546 OpName %specConstant "specConstant" in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Daggressive_dead_code_elim_test.cpp6125 ; CHECK: OpName %specConstant "specConstant" in TEST_F()
6134 OpName %specConstant "specConstant" in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Daggressive_dead_code_elim_test.cpp6125 ; CHECK: OpName %specConstant "specConstant" in TEST_F()
6134 OpName %specConstant "specConstant" in TEST_F()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp519 newType.getQualifier().specConstant = false; in handleBracketDereference()
3649 MERGE_SINGLETON(specConstant); in mergeQualifiers()
5328 publicType.qualifier.specConstant = true; in setLayoutQualifier()
8174 } else if (qualifier.specConstant) { in addQualifierToExisting()
8363 workGroupSize->getWritableType().getQualifier().specConstant = true; in updateStandaloneQualifierDefaults()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp1485 bool specConstant, in Operation()
1500 , isSpecConstant(specConstant) in Operation()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp6722 MERGE_SINGLETON(specConstant); in mergeQualifiers()
7367 qualifier.specConstant = true; in setSpecConstantId()
8991 } else if (qualifier.specConstant) { in addQualifierToExisting()
9198 workGroupSize->getWritableType().getQualifier().specConstant = true; in updateStandaloneQualifierDefaults()