Home
last modified time | relevance | path

Searched refs:execution_model (Results 1 – 25 of 87) sorted by relevance

1234

/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/val/
H A Dval_storage_test.cpp252 std::string GenerateExecutionModelCode(const std::string& execution_model, in GenerateExecutionModelCode() argument
255 const std::string mode = (execution_model.compare("GLCompute") == 0) in GenerateExecutionModelCode()
267 << execution_model << R"( %func "func" %var in GenerateExecutionModelCode()
288 std::string execution_model = GetParam(); in TEST_P() local
290 GenerateExecutionModelCode(execution_model, "Output", true).c_str(), in TEST_P()
303 std::string execution_model = GetParam(); in TEST_P() local
305 GenerateExecutionModelCode(execution_model, "CallableDataKHR", true) in TEST_P()
308 if (execution_model.compare("RayGenerationKHR") == 0 || in TEST_P()
309 execution_model.compare("ClosestHitKHR") == 0 || in TEST_P()
310 execution_model.compare("CallableKHR") == 0 || in TEST_P()
[all …]
H A Dval_builtins_test.cpp83 const char* const execution_model, in GetInMainCodeGenerator() argument
121 entry_point.execution_model = execution_model; in GetInMainCodeGenerator()
128 if (0 == std::strcmp(execution_model, "Fragment")) { in GetInMainCodeGenerator()
136 if (0 == std::strcmp(execution_model, "Geometry")) { in GetInMainCodeGenerator()
142 if (0 == std::strcmp(execution_model, "GLCompute")) { in GetInMainCodeGenerator()
158 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
165 built_in, execution_model, storage_class, NULL, NULL, data_type); in TEST_P()
185 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
194 GetInMainCodeGenerator(built_in, execution_model, storage_class, in TEST_P()
216 const char* const execution_model = std::get<2>(GetParam()); in TEST_P() local
[all …]
H A Dval_barriers_test.cpp33 const std::string& definitions, const std::string& execution_model, in GenerateShaderCodeImpl() argument
42 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCodeImpl()
43 if (execution_model == "Fragment") { in GenerateShaderCodeImpl()
45 } else if (execution_model == "Geometry") { in GenerateShaderCodeImpl()
48 } else if (execution_model == "GLCompute") { in GenerateShaderCodeImpl()
109 const std::string& execution_model = "GLCompute") { in GenerateShaderCode() argument
121 execution_model, memory_model); in GenerateShaderCode()
127 const std::string& execution_model = "Vertex") { in GenerateVulkanVertexShaderCode() argument
130 execution_model, memory_model); in GenerateVulkanVertexShaderCode()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_storage_test.cpp252 std::string GenerateExecutionModelCode(const std::string& execution_model, in GenerateExecutionModelCode() argument
255 const std::string mode = (execution_model.compare("GLCompute") == 0) in GenerateExecutionModelCode()
267 << execution_model << R"( %func "func" %var in GenerateExecutionModelCode()
288 std::string execution_model = GetParam(); in TEST_P() local
290 GenerateExecutionModelCode(execution_model, "Output", true).c_str(), in TEST_P()
303 std::string execution_model = GetParam(); in TEST_P() local
305 GenerateExecutionModelCode(execution_model, "CallableDataKHR", true) in TEST_P()
308 if (execution_model.compare("RayGenerationKHR") == 0 || in TEST_P()
309 execution_model.compare("ClosestHitKHR") == 0 || in TEST_P()
310 execution_model.compare("CallableKHR") == 0 || in TEST_P()
[all …]
H A Dval_builtins_test.cpp83 const char* const execution_model, in GetInMainCodeGenerator() argument
121 entry_point.execution_model = execution_model; in GetInMainCodeGenerator()
128 if (0 == std::strcmp(execution_model, "Fragment")) { in GetInMainCodeGenerator()
136 if (0 == std::strcmp(execution_model, "Geometry")) { in GetInMainCodeGenerator()
142 if (0 == std::strcmp(execution_model, "GLCompute")) { in GetInMainCodeGenerator()
158 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
165 built_in, execution_model, storage_class, NULL, NULL, data_type); in TEST_P()
185 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
194 GetInMainCodeGenerator(built_in, execution_model, storage_class, in TEST_P()
216 const char* const execution_model = std::get<2>(GetParam()); in TEST_P() local
[all …]
H A Dval_barriers_test.cpp33 const std::string& definitions, const std::string& execution_model, in GenerateShaderCodeImpl() argument
42 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCodeImpl()
43 if (execution_model == "Fragment") { in GenerateShaderCodeImpl()
45 } else if (execution_model == "Geometry") { in GenerateShaderCodeImpl()
48 } else if (execution_model == "GLCompute") { in GenerateShaderCodeImpl()
109 const std::string& execution_model = "GLCompute") { in GenerateShaderCode() argument
121 execution_model, memory_model); in GenerateShaderCode()
127 const std::string& execution_model = "Vertex") { in GenerateVulkanVertexShaderCode() argument
130 execution_model, memory_model); in GenerateVulkanVertexShaderCode()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/val/
Dval_storage_test.cpp252 std::string GenerateExecutionModelCode(const std::string& execution_model, in GenerateExecutionModelCode() argument
255 const std::string mode = (execution_model.compare("GLCompute") == 0) in GenerateExecutionModelCode()
267 << execution_model << R"( %func "func" %var in GenerateExecutionModelCode()
288 std::string execution_model = GetParam(); in TEST_P() local
290 GenerateExecutionModelCode(execution_model, "Output", true).c_str(), in TEST_P()
303 std::string execution_model = GetParam(); in TEST_P() local
305 GenerateExecutionModelCode(execution_model, "CallableDataKHR", true) in TEST_P()
308 if (execution_model.compare("RayGenerationKHR") == 0 || in TEST_P()
309 execution_model.compare("ClosestHitKHR") == 0 || in TEST_P()
310 execution_model.compare("CallableKHR") == 0 || in TEST_P()
[all …]
Dval_builtins_test.cpp83 const char* const execution_model, in GetInMainCodeGenerator() argument
121 entry_point.execution_model = execution_model; in GetInMainCodeGenerator()
128 if (0 == std::strcmp(execution_model, "Fragment")) { in GetInMainCodeGenerator()
136 if (0 == std::strcmp(execution_model, "Geometry")) { in GetInMainCodeGenerator()
142 if (0 == std::strcmp(execution_model, "GLCompute")) { in GetInMainCodeGenerator()
158 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
165 built_in, execution_model, storage_class, NULL, NULL, data_type); in TEST_P()
185 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
194 GetInMainCodeGenerator(built_in, execution_model, storage_class, in TEST_P()
216 const char* const execution_model = std::get<2>(GetParam()); in TEST_P() local
[all …]
Dval_barriers_test.cpp33 const std::string& definitions, const std::string& execution_model, in GenerateShaderCodeImpl() argument
42 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCodeImpl()
43 if (execution_model == "Fragment") { in GenerateShaderCodeImpl()
45 } else if (execution_model == "Geometry") { in GenerateShaderCodeImpl()
48 } else if (execution_model == "GLCompute") { in GenerateShaderCodeImpl()
109 const std::string& execution_model = "GLCompute") { in GenerateShaderCode() argument
121 execution_model, memory_model); in GenerateShaderCode()
127 const std::string& execution_model = "Vertex") { in GenerateVulkanVertexShaderCode() argument
130 execution_model, memory_model); in GenerateVulkanVertexShaderCode()
Dval_derivatives_test.cpp34 const std::string& execution_model = "Fragment") { in GenerateShaderCode() argument
43 ss << "OpEntryPoint " << execution_model << " %main \"main\"" in GenerateShaderCode()
47 if (execution_model == "Fragment") { in GenerateShaderCode()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_builtins.cpp573 int vuid, const char* comment, spv::ExecutionModel execution_model,
660 spv::ExecutionModel execution_model = spv::ExecutionModel::Max) const;
734 spv::ExecutionModel execution_model) const { in GetReferenceDesc()
747 if (execution_model != spv::ExecutionModel::Max) { in GetReferenceDesc()
750 uint32_t(execution_model)); in GetReferenceDesc()
1164 int vuid, const char* comment, spv::ExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1169 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1171 SPV_OPERAND_TYPE_EXECUTION_MODEL, uint32_t(execution_model)); in ValidateNotCalledWithExecutionModel()
1188 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1260 for (const spv::ExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
Dvalidate.cpp219 const auto execution_model = inst->GetOperandAs<spv::ExecutionModel>(0); in ValidateBinaryUsingContextAndValidationState() local
229 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
240 execution_model == check_execution_model) { in ValidateBinaryUsingContextAndValidationState()
249 has_mask_task_nv |= (execution_model == spv::ExecutionModel::TaskNV || in ValidateBinaryUsingContextAndValidationState()
250 execution_model == spv::ExecutionModel::MeshNV); in ValidateBinaryUsingContextAndValidationState()
251 has_mask_task_ext |= (execution_model == spv::ExecutionModel::TaskEXT || in ValidateBinaryUsingContextAndValidationState()
252 execution_model == spv::ExecutionModel::MeshEXT); in ValidateBinaryUsingContextAndValidationState()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/val/
H A Dvalidate_builtins.cpp577 int vuid, const char* comment, spv::ExecutionModel execution_model,
664 spv::ExecutionModel execution_model = spv::ExecutionModel::Max) const;
738 spv::ExecutionModel execution_model) const { in GetReferenceDesc()
751 if (execution_model != spv::ExecutionModel::Max) { in GetReferenceDesc()
754 uint32_t(execution_model)); in GetReferenceDesc()
1168 int vuid, const char* comment, spv::ExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1173 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1175 SPV_OPERAND_TYPE_EXECUTION_MODEL, uint32_t(execution_model)); in ValidateNotCalledWithExecutionModel()
1192 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1267 for (const spv::ExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
H A Dvalidate.cpp222 const auto execution_model = inst->GetOperandAs<spv::ExecutionModel>(0); in ValidateBinaryUsingContextAndValidationState() local
232 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
243 execution_model == check_execution_model) { in ValidateBinaryUsingContextAndValidationState()
252 has_mask_task_nv |= (execution_model == spv::ExecutionModel::TaskNV || in ValidateBinaryUsingContextAndValidationState()
253 execution_model == spv::ExecutionModel::MeshNV); in ValidateBinaryUsingContextAndValidationState()
254 has_mask_task_ext |= (execution_model == spv::ExecutionModel::TaskEXT || in ValidateBinaryUsingContextAndValidationState()
255 execution_model == spv::ExecutionModel::MeshEXT); in ValidateBinaryUsingContextAndValidationState()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_builtins.cpp573 int vuid, const char* comment, spv::ExecutionModel execution_model,
660 spv::ExecutionModel execution_model = spv::ExecutionModel::Max) const;
734 spv::ExecutionModel execution_model) const { in GetReferenceDesc()
747 if (execution_model != spv::ExecutionModel::Max) { in GetReferenceDesc()
750 uint32_t(execution_model)); in GetReferenceDesc()
1164 int vuid, const char* comment, spv::ExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1169 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1171 SPV_OPERAND_TYPE_EXECUTION_MODEL, uint32_t(execution_model)); in ValidateNotCalledWithExecutionModel()
1188 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1260 for (const spv::ExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
H A Dvalidate.cpp222 const auto execution_model = inst->GetOperandAs<spv::ExecutionModel>(0); in ValidateBinaryUsingContextAndValidationState() local
232 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
243 execution_model == check_execution_model) { in ValidateBinaryUsingContextAndValidationState()
252 has_mask_task_nv |= (execution_model == spv::ExecutionModel::TaskNV || in ValidateBinaryUsingContextAndValidationState()
253 execution_model == spv::ExecutionModel::MeshNV); in ValidateBinaryUsingContextAndValidationState()
254 has_mask_task_ext |= (execution_model == spv::ExecutionModel::TaskEXT || in ValidateBinaryUsingContextAndValidationState()
255 execution_model == spv::ExecutionModel::MeshEXT); in ValidateBinaryUsingContextAndValidationState()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/
H A Dspread_volatile_semantics.cpp139 spv::ExecutionModel execution_model = in HasInterfaceInConflictOfVolatileSemantics() local
145 !IsTargetForVolatileSemantics(var_id, execution_model) && in HasInterfaceInConflictOfVolatileSemantics()
174 spv::ExecutionModel execution_model = in CollectTargetsForVolatileSemantics() local
179 if (!IsTargetForVolatileSemantics(var_id, execution_model)) { in CollectTargetsForVolatileSemantics()
269 uint32_t var_id, spv::ExecutionModel execution_model) { in IsTargetForVolatileSemantics() argument
272 if (execution_model == spv::ExecutionModel::Fragment) { in IsTargetForVolatileSemantics()
278 if (execution_model == spv::ExecutionModel::IntersectionKHR || in IsTargetForVolatileSemantics()
279 execution_model == spv::ExecutionModel::IntersectionNV) { in IsTargetForVolatileSemantics()
286 switch (execution_model) { in IsTargetForVolatileSemantics()
H A Dreplace_invalid_opc.cpp30 spv::ExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == spv::ExecutionModel::Kernel) { in Process()
35 if (execution_model == spv::ExecutionModel::Max) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/
Dspread_volatile_semantics.cpp139 spv::ExecutionModel execution_model = in HasInterfaceInConflictOfVolatileSemantics() local
145 !IsTargetForVolatileSemantics(var_id, execution_model) && in HasInterfaceInConflictOfVolatileSemantics()
174 spv::ExecutionModel execution_model = in CollectTargetsForVolatileSemantics() local
179 if (!IsTargetForVolatileSemantics(var_id, execution_model)) { in CollectTargetsForVolatileSemantics()
269 uint32_t var_id, spv::ExecutionModel execution_model) { in IsTargetForVolatileSemantics() argument
272 if (execution_model == spv::ExecutionModel::Fragment) { in IsTargetForVolatileSemantics()
278 if (execution_model == spv::ExecutionModel::IntersectionKHR || in IsTargetForVolatileSemantics()
279 execution_model == spv::ExecutionModel::IntersectionNV) { in IsTargetForVolatileSemantics()
286 switch (execution_model) { in IsTargetForVolatileSemantics()
Dreplace_invalid_opc.cpp30 spv::ExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == spv::ExecutionModel::Kernel) { in Process()
35 if (execution_model == spv::ExecutionModel::Max) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dspread_volatile_semantics.cpp139 spv::ExecutionModel execution_model = in HasInterfaceInConflictOfVolatileSemantics() local
145 !IsTargetForVolatileSemantics(var_id, execution_model) && in HasInterfaceInConflictOfVolatileSemantics()
174 spv::ExecutionModel execution_model = in CollectTargetsForVolatileSemantics() local
179 if (!IsTargetForVolatileSemantics(var_id, execution_model)) { in CollectTargetsForVolatileSemantics()
269 uint32_t var_id, spv::ExecutionModel execution_model) { in IsTargetForVolatileSemantics() argument
272 if (execution_model == spv::ExecutionModel::Fragment) { in IsTargetForVolatileSemantics()
278 if (execution_model == spv::ExecutionModel::IntersectionKHR || in IsTargetForVolatileSemantics()
279 execution_model == spv::ExecutionModel::IntersectionNV) { in IsTargetForVolatileSemantics()
286 switch (execution_model) { in IsTargetForVolatileSemantics()
H A Dreplace_invalid_opc.cpp30 spv::ExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == spv::ExecutionModel::Kernel) { in Process()
35 if (execution_model == spv::ExecutionModel::Max) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/opt/
H A Dspread_volatile_semantics_test.cpp25 const char* execution_model; member
35 const std::string execution_model(tc.execution_model); in TEST_P() local
51 execution_model + std::string(R"( %main "main" %var in TEST_P()
142 const std::string execution_model(tc.execution_model); in TEST_P() local
165 OpEntryPoint )") + execution_model + in TEST_P()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dspread_volatile_semantics_test.cpp25 const char* execution_model; member
35 const std::string execution_model(tc.execution_model); in TEST_P() local
51 execution_model + std::string(R"( %main "main" %var in TEST_P()
142 const std::string execution_model(tc.execution_model); in TEST_P() local
165 OpEntryPoint )") + execution_model + in TEST_P()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/opt/
Dspread_volatile_semantics_test.cpp25 const char* execution_model; member
35 const std::string execution_model(tc.execution_model); in TEST_P() local
51 execution_model + std::string(R"( %main "main" %var in TEST_P()
142 const std::string execution_model(tc.execution_model); in TEST_P() local
165 OpEntryPoint )") + execution_model + in TEST_P()

1234