/external/skia/src/sksl/ |
D | SkSLProgramSettings.h | 76 ProgramKind fKind; 81 (fKind == ProgramKind::kRuntimeColorFilter || in strictES2Mode() 82 fKind == ProgramKind::kRuntimeShader || in strictES2Mode() 83 fKind == ProgramKind::kGeneric); in strictES2Mode()
|
D | SkSLCompiler.cpp | 215 fGPUModule = this->parseModule(ProgramKind::kFragment, MODULE_DATA(gpu), fPrivateModule); in loadGPUModule() 222 fFragmentModule = this->parseModule(ProgramKind::kFragment, MODULE_DATA(frag), in loadFragmentModule() 230 fVertexModule = this->parseModule(ProgramKind::kVertex, MODULE_DATA(vert), in loadVertexModule() 238 fGeometryModule = this->parseModule(ProgramKind::kGeometry, MODULE_DATA(geom), in loadGeometryModule() 246 fFPModule = this->parseModule(ProgramKind::kFragmentProcessor, MODULE_DATA(fp), in loadFPModule() 254 fPublicModule = this->parseModule(ProgramKind::kGeneric, MODULE_DATA(public), fRootModule); in loadPublicModule() 280 fRuntimeColorFilterModule = this->parseModule(ProgramKind::kRuntimeColorFilter, in loadRuntimeColorFilterModule() 291 ProgramKind::kRuntimeShader, MODULE_DATA(rt_shader), this->loadPublicModule()); in loadRuntimeShaderModule() 297 const ParsedModule& Compiler::moduleForProgramKind(ProgramKind kind) { in moduleForProgramKind() 299 case ProgramKind::kVertex: return this->loadVertexModule(); break; in moduleForProgramKind() [all …]
|
D | SkSLCompiler.h | 55 ProgramKind fKind; 116 ProgramKind kind, 175 LoadedModule loadModule(ProgramKind kind, ModuleData data, std::shared_ptr<SymbolTable> base, 177 ParsedModule parseModule(ProgramKind kind, ModuleData data, const ParsedModule& base); 183 const ParsedModule& moduleForProgramKind(ProgramKind kind);
|
D | SkSLMain.cpp | 275 SkSL::ProgramKind kind; in processCommand() 278 kind = SkSL::ProgramKind::kVertex; in processCommand() 280 kind = SkSL::ProgramKind::kFragment; in processCommand() 282 kind = SkSL::ProgramKind::kGeometry; in processCommand() 284 kind = SkSL::ProgramKind::kFragmentProcessor; in processCommand() 286 kind = SkSL::ProgramKind::kRuntimeColorFilter; in processCommand() 288 kind = SkSL::ProgramKind::kRuntimeShader; in processCommand()
|
D | SkSLIRGenerator.cpp | 127 if (this->programKind() != ProgramKind::kFragment && in convertExtension() 128 this->programKind() != ProgramKind::kVertex && in convertExtension() 129 this->programKind() != ProgramKind::kGeometry) { in convertExtension() 167 if (fRTAdjust && this->programKind() == ProgramKind::kGeometry) { in convertStatement() 262 if (this->programKind() != ProgramKind::kFragmentProcessor) { in checkVarDeclaration() 289 if (this->programKind() == ProgramKind::kRuntimeColorFilter || in checkVarDeclaration() 290 this->programKind() == ProgramKind::kRuntimeShader) { in checkVarDeclaration() 304 if (this->programKind() != ProgramKind::kRuntimeColorFilter && in checkVarDeclaration() 305 this->programKind() != ProgramKind::kRuntimeShader) { in checkVarDeclaration() 340 this->programKind() == ProgramKind::kFragment && name != Compiler::FRAGCOLOR_NAME) { in convertVar() [all …]
|
/external/skia/src/sksl/ir/ |
D | SkSLFunctionDeclaration.cpp | 88 ProgramKind kind = context.fConfig->fKind; in check_parameters() 89 if (isMain && (kind == ProgramKind::kRuntimeColorFilter || in check_parameters() 90 kind == ProgramKind::kRuntimeShader || in check_parameters() 91 kind == ProgramKind::kFragmentProcessor)) { in check_parameters() 104 if (isMain && (kind == ProgramKind::kFragment)) { in check_parameters() 121 ProgramKind kind = context.fConfig->fKind; in check_main_signature() 131 p.modifiers().fLayout.fBuiltin == (kind == ProgramKind::kFragment in check_main_signature() 143 case ProgramKind::kRuntimeColorFilter: { in check_main_signature() 156 case ProgramKind::kRuntimeShader: { in check_main_signature() 171 case ProgramKind::kFragmentProcessor: { in check_main_signature() [all …]
|
D | SkSLVarDeclarations.cpp | 53 context.fConfig->fKind != ProgramKind::kFragmentProcessor && in Convert() 102 context.fConfig->fKind != ProgramKind::kFragmentProcessor && in Make()
|
/external/skia/bench/ |
D | SkSLBench.cpp | 82 SkSL::ProgramKind::kFragment, in onDraw() 127 SkSL::ParsedModule module = fCompiler.moduleForProgramKind(SkSL::ProgramKind::kFragment); in onDelayedSetup() 577 compiler.moduleForProgramKind(SkSL::ProgramKind::kVertex); in RunSkSLMemoryBenchmarks() 578 compiler.moduleForProgramKind(SkSL::ProgramKind::kFragment); in RunSkSLMemoryBenchmarks() 588 compiler.moduleForProgramKind(SkSL::ProgramKind::kRuntimeColorFilter); in RunSkSLMemoryBenchmarks() 589 compiler.moduleForProgramKind(SkSL::ProgramKind::kRuntimeShader); in RunSkSLMemoryBenchmarks()
|
/external/skia/src/gpu/vk/ |
D | GrVkUtil.cpp | 78 SkSL::ProgramKind vk_shader_stage_to_skiasl_kind(VkShaderStageFlagBits stage) { in vk_shader_stage_to_skiasl_kind() 80 return SkSL::ProgramKind::kVertex; in vk_shader_stage_to_skiasl_kind() 83 return SkSL::ProgramKind::kGeometry; in vk_shader_stage_to_skiasl_kind() 86 return SkSL::ProgramKind::kFragment; in vk_shader_stage_to_skiasl_kind()
|
/external/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 47 SkSL::ProgramKind kind = DSLWriter::Context().fConfig->fKind; in init() 48 if (isMain && (kind == ProgramKind::kRuntimeColorFilter || in init() 49 kind == ProgramKind::kRuntimeShader || in init() 50 kind == ProgramKind::kFragmentProcessor)) { in init()
|
D | DSLRuntimeEffects.cpp | 23 Start(compiler, SkSL::ProgramKind::kRuntimeShader); in StartRuntimeShader()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DPipelineStateBuilder.cpp | 82 SkSL::ProgramKind kind) { in GrCompileHLSLShader() 86 case SkSL::ProgramKind::kVertex: in GrCompileHLSLShader() 89 case SkSL::ProgramKind::kGeometry: in GrCompileHLSLShader() 92 case SkSL::ProgramKind::kFragment: in GrCompileHLSLShader() 127 auto compile = [&](SkSL::ProgramKind kind, GrShaderType shaderType) { in loadHLSLFromCache() 135 return compile(SkSL::ProgramKind::kVertex, kVertex_GrShaderType) && in loadHLSLFromCache() 136 compile(SkSL::ProgramKind::kFragment, kFragment_GrShaderType) && in loadHLSLFromCache() 138 compile(SkSL::ProgramKind::kGeometry, kGeometry_GrShaderType)); in loadHLSLFromCache() 142 SkSL::ProgramKind kind, in compileD3DProgram() 628 auto compile = [&](SkSL::ProgramKind kind, GrShaderType shaderType) { in finalize() [all …]
|
/external/skia/src/gpu/ |
D | GrShaderUtils.cpp | 227 void PrintShaderBanner(SkSL::ProgramKind programKind) { in PrintShaderBanner() 230 case SkSL::ProgramKind::kVertex: typeName = "Vertex"; break; in PrintShaderBanner() 231 case SkSL::ProgramKind::kGeometry: typeName = "Geometry"; break; in PrintShaderBanner() 232 case SkSL::ProgramKind::kFragment: typeName = "Fragment"; break; in PrintShaderBanner()
|
D | GrShaderUtils.h | 35 void PrintShaderBanner(SkSL::ProgramKind programKind);
|
/external/skia/tests/ |
D | SkSLGLSLTestbed.cpp | 15 SkSL::ProgramKind kind = SkSL::ProgramKind::kFragment) { in test()
|
D | SkSLMetalTestbed.cpp | 15 SkSL::ProgramKind kind = SkSL::ProgramKind::kFragment) { in test()
|
D | SkSLSPIRVTestbed.cpp | 15 SkSL::ProgramKind kind = SkSL::ProgramKind::kFragment) { in test()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 335 SkSL::ProgramKind::kFragment, in finalize() 360 SkSL::ProgramKind::kVertex, in finalize() 421 SkSL::ProgramKind::kGeometry, in finalize() 579 auto compileShader = [&](SkSL::ProgramKind kind, const SkSL::String& sksl, GrGLenum type) { in PrecompileProgram() 596 if (!compileShader(SkSL::ProgramKind::kFragment, in PrecompileProgram() 599 !compileShader(SkSL::ProgramKind::kVertex, in PrecompileProgram() 603 !compileShader(SkSL::ProgramKind::kGeometry, in PrecompileProgram()
|
D | GrGLShaderStringBuilder.h | 18 SkSL::ProgramKind programKind,
|
/external/skia/include/effects/ |
D | SkRuntimeEffect.h | 30 enum class ProgramKind : int8_t; 209 static Result Make(std::unique_ptr<SkSL::Program> program, SkSL::ProgramKind kind); 211 static Result Make(SkString sksl, const Options& options, SkSL::ProgramKind kind); 214 const Options& options, SkSL::ProgramKind kind);
|
/external/skia/include/private/ |
D | SkSLProgramKind.h | 18 enum class ProgramKind : int8_t { enum
|
/external/skia/src/core/ |
D | SkRuntimeEffect.cpp | 134 SkSL::ProgramKind kind) { in Make() 158 SkSL::ProgramKind kind) { in Make() 166 SkSL::ProgramKind kind) { in Make() 188 case SkSL::ProgramKind::kRuntimeColorFilter: flags |= kAllowColorFilter_Flag; break; in Make() 189 case SkSL::ProgramKind::kRuntimeShader: flags |= kAllowShader_Flag; break; in Make() 276 auto result = Make(std::move(sksl), options, SkSL::ProgramKind::kRuntimeColorFilter); in MakeForColorFilter() 282 auto result = Make(std::move(sksl), options, SkSL::ProgramKind::kRuntimeShader); in MakeForShader() 288 auto result = Make(std::move(program), SkSL::ProgramKind::kRuntimeColorFilter); in MakeForColorFilter() 294 auto result = Make(std::move(program), SkSL::ProgramKind::kRuntimeShader); in MakeForShader()
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzSKSL2GLSL.cpp | 19 SkSL::ProgramKind::kFragment, in FuzzSKSL2GLSL()
|
D | FuzzSKSL2Metal.cpp | 19 SkSL::ProgramKind::kFragment, in FuzzSKSL2Metal()
|
D | FuzzSKSL2SPIRV.cpp | 19 SkSL::ProgramKind::kFragment, in FuzzSKSL2SPIRV()
|