Home
last modified time | relevance | path

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

123

/third_party/spirv-tools/test/val/
Dval_storage_test.cpp254 std::string GenerateExecutionModelCode(const std::string& execution_model, in GenerateExecutionModelCode() argument
257 const std::string mode = (execution_model.compare("GLCompute") == 0) in GenerateExecutionModelCode()
269 << execution_model << R"( %func "func" %var in GenerateExecutionModelCode()
290 std::string execution_model = GetParam(); in TEST_P() local
292 GenerateExecutionModelCode(execution_model, "Output", true).c_str(), in TEST_P()
305 std::string execution_model = GetParam(); in TEST_P() local
307 GenerateExecutionModelCode(execution_model, "CallableDataKHR", true) in TEST_P()
310 if (execution_model.compare("RayGenerationKHR") == 0 || in TEST_P()
311 execution_model.compare("ClosestHitKHR") == 0 || in TEST_P()
312 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_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()
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_primitives_test.cpp35 const std::string& execution_model = "Geometry") { in GenerateShaderCode() argument
39 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCode()
40 if (execution_model == "Geometry") { in GenerateShaderCode()
Dval_non_uniform_test.cpp35 const std::string& execution_model = "GLCompute") { in GenerateShaderCode() argument
51 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCode()
52 if (execution_model == "GLCompute") { in GenerateShaderCode()
/third_party/spirv-tools/source/val/
Dvalidate_builtins.cpp562 int vuid, const char* comment, SpvExecutionModel execution_model,
645 SpvExecutionModel execution_model = SpvExecutionModelMax) const;
719 SpvExecutionModel execution_model) const { in GetReferenceDesc()
732 if (execution_model != SpvExecutionModelMax) { in GetReferenceDesc()
735 execution_model); in GetReferenceDesc()
1110 int vuid, const char* comment, SpvExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1115 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1117 SPV_OPERAND_TYPE_EXECUTION_MODEL, execution_model); in ValidateNotCalledWithExecutionModel()
1134 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1206 for (const SpvExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
Dvalidate.cpp223 const auto execution_model = inst->GetOperandAs<SpvExecutionModel>(0); in ValidateBinaryUsingContextAndValidationState() local
233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
244 execution_model == check_execution_model) { in ValidateBinaryUsingContextAndValidationState()
253 has_mask_task_nv |= (execution_model == SpvExecutionModelTaskNV || in ValidateBinaryUsingContextAndValidationState()
254 execution_model == SpvExecutionModelMeshNV); in ValidateBinaryUsingContextAndValidationState()
255 has_mask_task_ext |= (execution_model == SpvExecutionModelTaskEXT || in ValidateBinaryUsingContextAndValidationState()
256 execution_model == SpvExecutionModelMeshEXT); in ValidateBinaryUsingContextAndValidationState()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_builtins.cpp549 int vuid, const char* comment, SpvExecutionModel execution_model,
632 SpvExecutionModel execution_model = SpvExecutionModelMax) const;
706 SpvExecutionModel execution_model) const { in GetReferenceDesc()
719 if (execution_model != SpvExecutionModelMax) { in GetReferenceDesc()
722 execution_model); in GetReferenceDesc()
1097 int vuid, const char* comment, SpvExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1102 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1104 SPV_OPERAND_TYPE_EXECUTION_MODEL, execution_model); in ValidateNotCalledWithExecutionModel()
1121 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1186 for (const SpvExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_builtins.cpp549 int vuid, const char* comment, SpvExecutionModel execution_model,
632 SpvExecutionModel execution_model = SpvExecutionModelMax) const;
706 SpvExecutionModel execution_model) const { in GetReferenceDesc()
719 if (execution_model != SpvExecutionModelMax) { in GetReferenceDesc()
722 execution_model); in GetReferenceDesc()
1097 int vuid, const char* comment, SpvExecutionModel execution_model, in ValidateNotCalledWithExecutionModel() argument
1102 if (execution_models_.count(execution_model)) { in ValidateNotCalledWithExecutionModel()
1104 SPV_OPERAND_TYPE_EXECUTION_MODEL, execution_model); in ValidateNotCalledWithExecutionModel()
1121 vuid, comment, execution_model, decoration, built_in_inst, in ValidateNotCalledWithExecutionModel()
1186 for (const SpvExecutionModel execution_model : execution_models_) { in ValidateClipOrCullDistanceAtReference() local
[all …]
/third_party/spirv-tools/source/opt/
Dspread_volatile_semantics.cpp138 SpvExecutionModel execution_model = in HasInterfaceInConflictOfVolatileSemantics() local
144 !IsTargetForVolatileSemantics(var_id, execution_model) && in HasInterfaceInConflictOfVolatileSemantics()
173 SpvExecutionModel execution_model = in CollectTargetsForVolatileSemantics() local
178 if (!IsTargetForVolatileSemantics(var_id, execution_model)) { in CollectTargetsForVolatileSemantics()
267 uint32_t var_id, SpvExecutionModel execution_model) { in IsTargetForVolatileSemantics() argument
270 if (execution_model == SpvExecutionModelFragment) { in IsTargetForVolatileSemantics()
276 if (execution_model == SpvExecutionModelIntersectionKHR || in IsTargetForVolatileSemantics()
277 execution_model == SpvExecutionModelIntersectionNV) { in IsTargetForVolatileSemantics()
284 switch (execution_model) { in IsTargetForVolatileSemantics()
Dreplace_invalid_opc.cpp30 SpvExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == SpvExecutionModelKernel) { in Process()
35 if (execution_model == SpvExecutionModelMax) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_builtins_test.cpp82 const char* const execution_model, in GetInMainCodeGenerator() argument
119 entry_point.execution_model = execution_model; in GetInMainCodeGenerator()
126 if (0 == std::strcmp(execution_model, "Fragment")) { in GetInMainCodeGenerator()
134 if (0 == std::strcmp(execution_model, "Geometry")) { in GetInMainCodeGenerator()
140 if (0 == std::strcmp(execution_model, "GLCompute")) { in GetInMainCodeGenerator()
156 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
163 built_in, execution_model, storage_class, NULL, NULL, data_type); in TEST_P()
183 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
192 GetInMainCodeGenerator(built_in, execution_model, storage_class, in TEST_P()
214 const char* const execution_model = std::get<2>(GetParam()); in TEST_P() local
[all …]
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()
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_primitives_test.cpp35 const std::string& execution_model = "Geometry") { in GenerateShaderCode() argument
39 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCode()
40 if (execution_model == "Geometry") { in GenerateShaderCode()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp82 const char* const execution_model, in GetInMainCodeGenerator() argument
119 entry_point.execution_model = execution_model; in GetInMainCodeGenerator()
126 if (0 == std::strcmp(execution_model, "Fragment")) { in GetInMainCodeGenerator()
134 if (0 == std::strcmp(execution_model, "Geometry")) { in GetInMainCodeGenerator()
140 if (0 == std::strcmp(execution_model, "GLCompute")) { in GetInMainCodeGenerator()
156 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
163 built_in, execution_model, storage_class, NULL, NULL, data_type); in TEST_P()
183 const char* const execution_model = std::get<1>(GetParam()); in TEST_P() local
192 GetInMainCodeGenerator(built_in, execution_model, storage_class, in TEST_P()
214 const char* const execution_model = std::get<2>(GetParam()); in TEST_P() local
[all …]
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()
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_primitives_test.cpp35 const std::string& execution_model = "Geometry") { in GenerateShaderCode() argument
39 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCode()
40 if (execution_model == "Geometry") { in GenerateShaderCode()
Dval_non_uniform_test.cpp35 const std::string& execution_model = "GLCompute") { in GenerateShaderCode() argument
51 ss << "OpEntryPoint " << execution_model << " %main \"main\"\n"; in GenerateShaderCode()
52 if (execution_model == "GLCompute") { in GenerateShaderCode()
/third_party/spirv-tools/test/opt/
Dspread_volatile_semantics_test.cpp26 const char* execution_model; member
36 const std::string execution_model(tc.execution_model); in TEST_P() local
52 execution_model + std::string(R"( %main "main" %var in TEST_P()
143 const std::string execution_model(tc.execution_model); in TEST_P() local
166 OpEntryPoint )") + execution_model + in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dreplace_invalid_opc.cpp30 SpvExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == SpvExecutionModelKernel) { in Process()
35 if (execution_model == SpvExecutionModelMax) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dreplace_invalid_opc.cpp30 SpvExecutionModel execution_model = GetExecutionModel(); in Process() local
31 if (execution_model == SpvExecutionModelKernel) { in Process()
35 if (execution_model == SpvExecutionModelMax) { in Process()
42 modified |= RewriteFunction(&func, execution_model); in Process()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_reflect.cpp493 if (a.execution_model < b.execution_model) in emit_entry_points()
495 else if (a.execution_model > b.execution_model) in emit_entry_points()
506 json_stream->emit_json_key_value("mode", execution_model_to_str(e.execution_model)); in emit_entry_points()
507 if (e.execution_model == ExecutionModelGLCompute) in emit_entry_points()
509 const auto &spv_entry = get_entry_point(e.name, e.execution_model); in emit_entry_points()

123