Home
last modified time | relevance | path

Searched refs:opType (Results 1 – 25 of 45) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsVoteTests.cpp92 std::string getOpTypeName(int opType) in getOpTypeName() argument
94 switch (opType) in getOpTypeName()
110 int opType; member
138 (OPTYPE_ALL == caseDef.opType) ? in initFrameBufferPrograms()
139 " result = " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms()
141 " result |= " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms()
144 : (OPTYPE_ANY == caseDef.opType) ? in initFrameBufferPrograms()
145 " result = " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms()
147 " result |= " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms()
150 : (OPTYPE_ALLEQUAL == caseDef.opType) ? in initFrameBufferPrograms()
[all …]
DglcSubgroupsQuadTests.cpp63 std::string getOpTypeName(int opType) in getOpTypeName() argument
65 switch (opType) in getOpTypeName()
83 int opType; member
119 << swapTable[caseDef.opType]; in initFrameBufferPrograms()
121 if (OPTYPE_QUAD_BROADCAST == caseDef.opType) in initFrameBufferPrograms()
124 …<< getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID], " << caseDef.direction << "u)… in initFrameBufferPrograms()
130 << getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID]);\n" in initFrameBufferPrograms()
165 << swapTable[caseDef.opType]; in initFrameBufferPrograms()
167 if (OPTYPE_QUAD_BROADCAST == caseDef.opType) in initFrameBufferPrograms()
170 …<< getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID], " << caseDef.direction << "u)… in initFrameBufferPrograms()
[all …]
DglcSubgroupsPartitionedTests.cpp80 std::string getOpTypeName(int opType) in getOpTypeName() argument
82 switch (opType) in getOpTypeName()
132 std::string getOpTypeNamePartitioned(int opType) in getOpTypeNamePartitioned() argument
134 switch (opType) in getOpTypeNamePartitioned()
184 std::string getIdentity(int opType, Format format) in getIdentity() argument
224 switch (opType) in getIdentity()
292 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument
305 switch (opType) in getCompare()
323 switch (opType) in getCompare()
340 int opType; member
[all …]
DglcSubgroupsArithmeticTests.cpp80 std::string getOpTypeName(int opType) in getOpTypeName() argument
82 switch (opType) in getOpTypeName()
132 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument
134 switch (opType) in getOpTypeOperation()
234 std::string getIdentity(int opType, Format format) in getIdentity() argument
274 switch (opType) in getIdentity()
342 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument
355 switch (opType) in getCompare()
373 switch (opType) in getCompare()
390 int opType; member
[all …]
DglcSubgroupsBasicTests.cpp215 std::string getOpTypeName(int opType) in getOpTypeName() argument
217 switch (opType) in getOpTypeName()
239 int opType; member
274 if (OPTYPE_ELECT == caseDef.opType) in initFrameBufferPrograms()
432 switch (caseDef.opType) in initFrameBufferPrograms()
451 << " " << getOpTypeName(caseDef.opType) << "();\n"; in initFrameBufferPrograms()
488 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms()
528 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms()
568 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms()
624 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms()
[all …]
DglcSubgroupsClusteredTests.cpp66 std::string getOpTypeName(int opType) in getOpTypeName() argument
68 switch (opType) in getOpTypeName()
90 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument
92 switch (opType) in getOpTypeOperation()
178 std::string getIdentity(int opType, Format format) in getIdentity() argument
218 switch (opType) in getIdentity()
272 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument
285 switch (opType) in getCompare()
299 switch (opType) in getCompare()
312 int opType; member
[all …]
DglcSubgroupsShapeTests.cpp61 std::string getOpTypeName(int opType) in getOpTypeName() argument
63 switch (opType) in getOpTypeName()
77 int opType; member
84 std::string extension = (OPTYPE_CLUSTERED == caseDef.opType) ? in initFrameBufferPrograms()
98 if (OPTYPE_CLUSTERED == caseDef.opType) in initFrameBufferPrograms()
234 std::string extension = (OPTYPE_CLUSTERED == caseDef.opType) ? in initPrograms()
245 if (OPTYPE_CLUSTERED == caseDef.opType) in initPrograms()
437 if (OPTYPE_CLUSTERED == caseDef.opType) in supportedCheck()
445 if (OPTYPE_QUAD == caseDef.opType) in supportedCheck()
DglcSubgroupsShuffleTests.cpp63 std::string getOpTypeName(int opType) in getOpTypeName() argument
65 switch (opType) in getOpTypeName()
83 int opType; member
120 + getOpTypeName(caseDef.opType) + "(data1[gl_SubgroupInvocationID], id_in);\n" in TestSource()
121 " uint id = " + idTable[caseDef.opType] + ";\n" in TestSource()
142 (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) ? in initFrameBufferPrograms()
278 (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) ? in initPrograms()
429 switch (caseDef.opType) in supportedCheck()
498 switch (caseDef.opType) in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsVoteTests.cpp53 OpType opType; member
116 string getOpTypeName (int opType) in getOpTypeName() argument
118 switch (opType) in getOpTypeName()
147 const string op = getOpTypeName(caseDef.opType); in getStageTestSource()
154 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSource()
158 : (OPTYPE_ANY == caseDef.opType || OPTYPE_ANY_ARB == caseDef.opType) ? in getStageTestSource()
162 : (OPTYPE_ALLEQUAL == caseDef.opType || OPTYPE_ALLEQUAL_ARB == caseDef.opType) ? in getStageTestSource()
185 const bool arbFunctions = caseDef.opType > OPTYPE_LAST_NON_ARB; in initFrameBufferPrograms()
195 const string op = getOpTypeName(caseDef.opType); in getStageTestSourceFrag()
199 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSourceFrag()
[all …]
DvktSubgroupsBasicTests.cpp54 OpType opType; member
325 string getOpTypeName (OpType opType) in getOpTypeName() argument
327 switch (opType) in getOpTypeName()
468 if (OPTYPE_ELECT == caseDef.opType) in initFrameBufferPrograms()
1133 switch (caseDef.opType) in initFrameBufferPrograms()
1149 << " " << getOpTypeName(caseDef.opType) << "();\n"; in initFrameBufferPrograms()
1189 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1231 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1272 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1330 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
[all …]
DvktSubgroupsQuadTests.cpp51 OpType opType; member
79 string getOpTypeName (OpType opType) in getOpTypeName() argument
81 switch (opType) in getOpTypeName()
92 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument
94 switch (opType) in getOpTypeCaseName()
126 const string op = getOpTypeName(caseDef.opType); in getTestSrc()
130 << swapTable[caseDef.opType] in getTestSrc()
133 if (caseDef.opType == OPTYPE_QUAD_BROADCAST) in getTestSrc()
144 else if (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) in getTestSrc()
182 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? SPIRV_VER… in initFrameBufferPrograms()
[all …]
DvktSubgroupsShuffleTests.cpp58 OpType opType; member
87 string getOpTypeName (OpType opType) in getOpTypeName() argument
89 switch (opType) in getOpTypeName()
101 const string eSource = (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) in getExtHeader()
183 const string id = caseDef.opType == OPTYPE_SHUFFLE ? "id_in" in getTestSource()
184 : caseDef.opType == OPTYPE_SHUFFLE_XOR ? "gl_SubgroupInvocationID ^ id_in" in getTestSource()
185 : caseDef.opType == OPTYPE_SHUFFLE_UP ? "gl_SubgroupInvocationID - id_in" in getTestSource()
186 : caseDef.opType == OPTYPE_SHUFFLE_DOWN ? "gl_SubgroupInvocationID + id_in" in getTestSource()
197 + getOpTypeName(caseDef.opType) + "(data1[gl_SubgroupInvocationID], id_in);\n" in getTestSource()
245 switch (caseDef.opType) in supportedCheck()
[all …]
DvktSubgroupsBallotBroadcastTests.cpp49 OpType opType; member
79 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument
81 switch (opType) in getOpTypeCaseName()
136 if (caseDef.opType == OPTYPE_BROADCAST) in getTestSrc()
153 else if (caseDef.opType == OPTYPE_BROADCAST_NONCONST) in getTestSrc()
172 else if (caseDef.opType == OPTYPE_BROADCAST_FIRST) in getTestSrc()
233 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_BROADCAST_NONCONST) ? SPIRV_VERSION_… in initFrameBufferPrograms()
244 const bool spirv15required = caseDef.opType == OPTYPE_BROADCAST_NONCONST; in initPrograms()
280 …if ((caseDef.opType == OPTYPE_BROADCAST_NONCONST) && !subgroups::isSubgroupBroadcastDynamicIdSuppo… in supportedCheck()
485 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotBroadcastTests() local
[all …]
DvktSubgroupsShapeTests.cpp48 OpType opType; member
75 string getOpTypeName (const OpType opType) in getOpTypeName() argument
77 switch (opType) in getOpTypeName()
87 const string testExtensions = (OPTYPE_CLUSTERED == caseDef.opType) in getExtHeader()
103 if (OPTYPE_CLUSTERED == caseDef.opType) in getBodySource()
237 if (OPTYPE_CLUSTERED == caseDef.opType) in supportedCheck()
245 if (OPTYPE_QUAD == caseDef.opType) in supportedCheck()
415 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsShapeTests() local
416 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsShapeTests()
424 opType, // OpType opType; in createSubgroupsShapeTests()
[all …]
DvktSubgroupsBallotOtherTests.cpp53 OpType opType; member
80 string getOpTypeName (OpType opType) in getOpTypeName() argument
82 switch (opType) in getOpTypeName()
162 switch (caseDef.opType) in getTestString()
478 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotOtherTests() local
479 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsBallotOtherTests()
487 opType, // OpType opType; in createSubgroupsBallotOtherTests()
505 opType, // OpType opType; in createSubgroupsBallotOtherTests()
519 opType, // OpType opType; in createSubgroupsBallotOtherTests()
532 opType, // OpType opType; in createSubgroupsBallotOtherTests()
[all …]
DvktSubgroupsArithmeticTests.cpp76 static Operator getOperator (OpType opType) in getOperator() argument
78 switch (opType) in getOperator()
114 static ScanType getScanType(OpType opType) in getScanType() argument
116 switch (opType) in getScanType()
473 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local
474 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests()
475 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests()
573 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local
574 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests()
575 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests()
DvktSubgroupsPartitionedTests.cpp77 static Operator getOperator (OpType opType) in getOperator() argument
79 switch (opType) in getOperator()
115 static ScanType getScanType (OpType opType) in getScanType() argument
117 switch (opType) in getScanType()
498 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsPartitionedTests() local
499 const Operator op = getOperator(opType); in createSubgroupsPartitionedTests()
500 const ScanType st = getScanType(opType); in createSubgroupsPartitionedTests()
595 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsPartitionedTests() local
596 const Operator op = getOperator(opType); in createSubgroupsPartitionedTests()
597 const ScanType st = getScanType(opType); in createSubgroupsPartitionedTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsVoteTests.cpp53 OpType opType; member
116 string getOpTypeName (int opType) in getOpTypeName() argument
118 switch (opType) in getOpTypeName()
147 const string op = getOpTypeName(caseDef.opType); in getStageTestSource()
154 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSource()
158 : (OPTYPE_ANY == caseDef.opType || OPTYPE_ANY_ARB == caseDef.opType) ? in getStageTestSource()
162 : (OPTYPE_ALLEQUAL == caseDef.opType || OPTYPE_ALLEQUAL_ARB == caseDef.opType) ? in getStageTestSource()
185 const bool arbFunctions = caseDef.opType > OPTYPE_LAST_NON_ARB; in initFrameBufferPrograms()
195 const string op = getOpTypeName(caseDef.opType); in getStageTestSourceFrag()
199 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSourceFrag()
[all …]
DvktSubgroupsBasicTests.cpp54 OpType opType; member
325 string getOpTypeName (OpType opType) in getOpTypeName() argument
327 switch (opType) in getOpTypeName()
468 if (OPTYPE_ELECT == caseDef.opType) in initFrameBufferPrograms()
1133 switch (caseDef.opType) in initFrameBufferPrograms()
1149 << " " << getOpTypeName(caseDef.opType) << "();\n"; in initFrameBufferPrograms()
1189 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1231 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1272 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
1330 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms()
[all …]
DvktSubgroupsQuadTests.cpp51 OpType opType; member
79 string getOpTypeName (OpType opType) in getOpTypeName() argument
81 switch (opType) in getOpTypeName()
92 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument
94 switch (opType) in getOpTypeCaseName()
126 const string op = getOpTypeName(caseDef.opType); in getTestSrc()
130 << swapTable[caseDef.opType] in getTestSrc()
133 if (caseDef.opType == OPTYPE_QUAD_BROADCAST) in getTestSrc()
144 else if (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) in getTestSrc()
182 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? SPIRV_VER… in initFrameBufferPrograms()
[all …]
DvktSubgroupsShuffleTests.cpp58 OpType opType; member
87 string getOpTypeName (OpType opType) in getOpTypeName() argument
89 switch (opType) in getOpTypeName()
101 const string eSource = (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) in getExtHeader()
183 const string id = caseDef.opType == OPTYPE_SHUFFLE ? "id_in" in getTestSource()
184 : caseDef.opType == OPTYPE_SHUFFLE_XOR ? "gl_SubgroupInvocationID ^ id_in" in getTestSource()
185 : caseDef.opType == OPTYPE_SHUFFLE_UP ? "gl_SubgroupInvocationID - id_in" in getTestSource()
186 : caseDef.opType == OPTYPE_SHUFFLE_DOWN ? "gl_SubgroupInvocationID + id_in" in getTestSource()
197 + getOpTypeName(caseDef.opType) + "(data1[gl_SubgroupInvocationID], id_in);\n" in getTestSource()
245 switch (caseDef.opType) in supportedCheck()
[all …]
DvktSubgroupsBallotBroadcastTests.cpp49 OpType opType; member
79 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument
81 switch (opType) in getOpTypeCaseName()
136 if (caseDef.opType == OPTYPE_BROADCAST) in getTestSrc()
153 else if (caseDef.opType == OPTYPE_BROADCAST_NONCONST) in getTestSrc()
172 else if (caseDef.opType == OPTYPE_BROADCAST_FIRST) in getTestSrc()
233 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_BROADCAST_NONCONST) ? SPIRV_VERSION_… in initFrameBufferPrograms()
244 const bool spirv15required = caseDef.opType == OPTYPE_BROADCAST_NONCONST; in initPrograms()
280 …if ((caseDef.opType == OPTYPE_BROADCAST_NONCONST) && !subgroups::isSubgroupBroadcastDynamicIdSuppo… in supportedCheck()
485 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotBroadcastTests() local
[all …]
DvktSubgroupsShapeTests.cpp48 OpType opType; member
75 string getOpTypeName (const OpType opType) in getOpTypeName() argument
77 switch (opType) in getOpTypeName()
87 const string testExtensions = (OPTYPE_CLUSTERED == caseDef.opType) in getExtHeader()
103 if (OPTYPE_CLUSTERED == caseDef.opType) in getBodySource()
237 if (OPTYPE_CLUSTERED == caseDef.opType) in supportedCheck()
245 if (OPTYPE_QUAD == caseDef.opType) in supportedCheck()
415 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsShapeTests() local
416 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsShapeTests()
424 opType, // OpType opType; in createSubgroupsShapeTests()
[all …]
DvktSubgroupsBallotOtherTests.cpp53 OpType opType; member
80 string getOpTypeName (OpType opType) in getOpTypeName() argument
82 switch (opType) in getOpTypeName()
162 switch (caseDef.opType) in getTestString()
478 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotOtherTests() local
479 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsBallotOtherTests()
487 opType, // OpType opType; in createSubgroupsBallotOtherTests()
505 opType, // OpType opType; in createSubgroupsBallotOtherTests()
519 opType, // OpType opType; in createSubgroupsBallotOtherTests()
532 opType, // OpType opType; in createSubgroupsBallotOtherTests()
[all …]
DvktSubgroupsArithmeticTests.cpp76 static Operator getOperator (OpType opType) in getOperator() argument
78 switch (opType) in getOperator()
114 static ScanType getScanType(OpType opType) in getScanType() argument
116 switch (opType) in getScanType()
473 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local
474 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests()
475 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests()
573 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local
574 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests()
575 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests()

12