Home
last modified time | relevance | path

Searched refs:kGrShaderTypeCount (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp112 SkSL::String shaders[kGrShaderTypeCount]; in loadShadersFromCache()
113 SkSL::Program::Inputs inputs[kGrShaderTypeCount]; in loadShadersFromCache()
115 if (!GrPersistentCacheUtils::UnpackCachedShaders(cached, shaders, inputs, kGrShaderTypeCount)) { in loadShadersFromCache()
134 for (int i = 0; i < kGrShaderTypeCount; ++i) { in loadShadersFromCache()
159 inputs, kGrShaderTypeCount); in storeShadersInCache()
170 VkShaderModule shaderModules[kGrShaderTypeCount] = { VK_NULL_HANDLE, in finalize()
227 SkSL::String shaders[kGrShaderTypeCount]; in finalize()
228 SkSL::Program::Inputs inputs[kGrShaderTypeCount]; in finalize()
230 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize()
234 SkSL::String cached_sksl[kGrShaderTypeCount]; in finalize()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp117 SkSL::String hlsl[kGrShaderTypeCount]; in loadHLSLFromCache()
118 SkSL::Program::Inputs inputs[kGrShaderTypeCount]; in loadHLSLFromCache()
120 if (!GrPersistentCacheUtils::UnpackCachedShaders(reader, hlsl, inputs, kGrShaderTypeCount)) { in loadHLSLFromCache()
590 gr_cp<ID3DBlob> shaders[kGrShaderTypeCount]; in finalize()
595 SkSL::Program::Inputs inputs[kGrShaderTypeCount]; in finalize()
596 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize()
600 SkSL::String cached_sksl[kGrShaderTypeCount]; in finalize()
601 SkSL::String hlsl[kGrShaderTypeCount]; in finalize()
605 kGrShaderTypeCount)) { in finalize()
606 for (int i = 0; i < kGrShaderTypeCount; ++i) { in finalize()
[all …]
/third_party/skia/src/gpu/
DGrPersistentCacheUtils.cpp36 SkASSERT(numInputs >= 1 && numInputs <= kGrShaderTypeCount); in PackCachedShaders()
41 for (int i = 0; i < kGrShaderTypeCount; ++i) { in PackCachedShaders()
81 for (int i = 0; i < kGrShaderTypeCount; ++i) { in UnpackCachedShaders()
120 for (int i = 0; i < kGrShaderTypeCount; ++i) { in UnpackCachedShaders()
/third_party/skia/tools/gpu/
DMemoryCache.cpp95 SkSL::Program::Inputs inputsIgnored[kGrShaderTypeCount]; in writeShadersToDisk()
96 SkSL::String shaders[kGrShaderTypeCount]; in writeShadersToDisk()
102 inputsIgnored, kGrShaderTypeCount); in writeShadersToDisk()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm86 kGrShaderTypeCount, &meta);
547 id<MTLLibrary> shaderLibraries[kGrShaderTypeCount];
563 SkSL::String msl[kGrShaderTypeCount];
564 SkSL::Program::Inputs inputs[kGrShaderTypeCount];
571 kGrShaderTypeCount);
576 SkSL::String cached_sksl[kGrShaderTypeCount];
578 kGrShaderTypeCount)) {
635 SkSL::String sksl[kGrShaderTypeCount];
752 SkSL::String shaders[kGrShaderTypeCount];
753 SkSL::Program::Inputs inputs[kGrShaderTypeCount];
[all …]
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp271 SkSL::String glsl[kGrShaderTypeCount]; in finalize()
272 SkSL::String* sksl[kGrShaderTypeCount] = { in finalize()
276 SkSL::String cached_sksl[kGrShaderTypeCount]; in finalize()
330 for (int i = 0; i < kGrShaderTypeCount; ++i) { in finalize()
475 for (int i = 0; i < kGrShaderTypeCount; ++i) { in finalize()
570 SkSL::String shaders[kGrShaderTypeCount]; in PrecompileProgram()
/third_party/skia/tools/viewer/
DViewer.h261 SkSL::String fShader[kGrShaderTypeCount];
262 SkSL::Program::Inputs fInputs[kGrShaderTypeCount];
DViewer.cpp2497 kGrShaderTypeCount); in drawImGui()
2507 for (int i = 0; i < kGrShaderTypeCount; ++i) { in drawImGui()
2643 kGrShaderTypeCount); in drawImGui()
/third_party/skia/include/private/
DGrTypesPriv.h360 static const int kGrShaderTypeCount = kLastkFragment_GrShaderType + 1; variable