Home
last modified time | relevance | path

Searched refs:hasShader (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/gm/
Dmodecolorfilters.cpp142 bool hasShader = nullptr == paint.getShader(); in onDraw() local
143 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); in onDraw()
144 SkColor* paintColors = hasShader ? alphas : colors; in onDraw()
/third_party/flutter/skia/gm/
Dmodecolorfilters.cpp142 bool hasShader = nullptr == paint.getShader(); in onDraw() local
143 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); in onDraw()
144 SkColor* paintColors = hasShader ? alphas : colors; in onDraw()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderApiTests.cpp217 bool hasShader (const glu::ShaderType shaderType);
224 …glu::Shader& get (const glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return… in get()
245 bool ShaderAllocator::hasShader (const glu::ShaderType shaderType) in hasShader() function in deqp::gles2::Functional::__anon3fdacc460111::ShaderAllocator
255 DE_ASSERT(!this->hasShader(shaderType)); in createShader()
267 DE_ASSERT(this->hasShader(shaderType)); in deleteShader()
275 DE_ASSERT(this->hasShader(shaderType)); in setSource()
302 if (shaders.hasShader(shaderType)) in logProgram()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp2427 if (program->hasShader(SHADERTYPE_COMPUTE)) in iterate()
2430 if (program->hasShader(SHADERTYPE_VERTEX)) in iterate()
2433 if (program->hasShader(SHADERTYPE_TESSELLATION_CONTROL)) in iterate()
2438 if (program->hasShader(SHADERTYPE_TESSELLATION_EVALUATION)) in iterate()
2443 if (program->hasShader(SHADERTYPE_GEOMETRY)) in iterate()
2446 if (program->hasShader(SHADERTYPE_FRAGMENT)) in iterate()
3408 if (program.hasShader(SHADERTYPE_COMPUTE)) in iterate()
3410 if (program.hasShader(SHADERTYPE_VERTEX)) in iterate()
3412 if (program.hasShader(SHADERTYPE_TESSELLATION_CONTROL)) in iterate()
3414 if (program.hasShader(SHADERTYPE_TESSELLATION_EVALUATION)) in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp270 bool hasShader (const glu::ShaderType shaderType);
277 …glu::Shader& get (const glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return… in get()
298 bool ShaderAllocator::hasShader (const glu::ShaderType shaderType) in hasShader() function in deqp::gles3::Functional::__anon4a3ac2e80111::ShaderAllocator
308 DE_ASSERT(!this->hasShader(shaderType)); in createShader()
320 DE_ASSERT(this->hasShader(shaderType)); in deleteShader()
328 DE_ASSERT(this->hasShader(shaderType)); in setSource()
356 if (shaders.hasShader(shaderType)) in logProgram()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp730 bool hasShader (glu::ShaderType type) const { return (m_stages & (1u << type)) != 0; } in hasShader() function in vkt::__anona42deac10111::PipelineProgram
1042 …const vk::VkShaderModule vertShader = program.hasShader(glu::SHADERTYPE_VERTEX) ? program… in createPipeline()
1043 …const vk::VkShaderModule tessControlShader = program.hasShader(glu::SHADERTYPE_TESSELLATION… in createPipeline()
1044 …const vk::VkShaderModule tessEvalShader = program.hasShader(glu::SHADERTYPE_TESSELLATION_E… in createPipeline()
1045 …const vk::VkShaderModule geomShader = program.hasShader(glu::SHADERTYPE_GEOMETRY) ? progr… in createPipeline()
1046 …const vk::VkShaderModule fragShader = program.hasShader(glu::SHADERTYPE_FRAGMENT) ? progr… in createPipeline()
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp352 bool hasShader = SkToBool(paint.getShader()); in addResources() local
354 if (hasClip || hasShader) { in addResources()
361 if (hasShader) { in addResources()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderLibrary.cpp165 const bool hasShader = !spec.programs[progNdx].sources.sources[shaderStageNdx].empty(); in isValid() local
168 if (hasShader != isEnabled) in isValid()
174 if (hasShader && (usedStageMask & curStageMask) != 0) in isValid()
DgluShaderProgram.hpp201 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader() function in glu::ShaderProgram
/third_party/vk-gl-cts/modules/glshared/
DglsShaderLibraryCase.cpp1005 …if (program->hasShader((glu::ShaderType)stage) && !program->getShaderInfo((glu::ShaderType)stage).… in execute()
1030 …if (program->hasShader((glu::ShaderType)stage) && !program->getShaderInfo((glu::ShaderType)stage).… in execute()