/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/val/ |
H A D | val_storage_test.cpp | 252 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 D | val_builtins_test.cpp | 83 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 D | val_barriers_test.cpp | 33 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 D | val_storage_test.cpp | 252 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 D | val_builtins_test.cpp | 83 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 D | val_barriers_test.cpp | 33 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/ |
D | val_storage_test.cpp | 252 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 …]
|
D | val_builtins_test.cpp | 83 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 …]
|
D | val_barriers_test.cpp | 33 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()
|
D | val_derivatives_test.cpp | 34 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/ |
D | validate_builtins.cpp | 573 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 …]
|
D | validate.cpp | 219 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 D | validate_builtins.cpp | 577 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 D | validate.cpp | 222 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 D | validate_builtins.cpp | 573 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 D | validate.cpp | 222 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 D | spread_volatile_semantics.cpp | 139 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 D | replace_invalid_opc.cpp | 30 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/ |
D | spread_volatile_semantics.cpp | 139 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()
|
D | replace_invalid_opc.cpp | 30 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 D | spread_volatile_semantics.cpp | 139 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 D | replace_invalid_opc.cpp | 30 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 D | spread_volatile_semantics_test.cpp | 25 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 D | spread_volatile_semantics_test.cpp | 25 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/ |
D | spread_volatile_semantics_test.cpp | 25 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()
|