Home
last modified time | relevance | path

Searched refs:fragShader (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/src/tests/gl_tests/
DProgramPipelineTest.cpp476 GLShader fragShader(GL_FRAGMENT_SHADER); in TEST_P() local
489 glShaderSource(fragShader, 1, &fragString, nullptr); in TEST_P()
490 glCompileShader(fragShader); in TEST_P()
492 glAttachShader(mFragProg, fragShader); in TEST_P()
509 glDetachShader(mFragProg, fragShader); in TEST_P()
520 glShaderSource(fragShader, 1, &fragString2, nullptr); in TEST_P()
521 glCompileShader(fragShader); in TEST_P()
832 GLShader fragShader(GL_FRAGMENT_SHADER); in TEST_P() local
845 glShaderSource(fragShader, 1, &fragStringGreen, nullptr); in TEST_P()
846 glCompileShader(fragShader); in TEST_P()
[all …]
DVulkanUniformUpdatesTest.cpp591 GLShader fragShader(GL_FRAGMENT_SHADER); in TEST_P() local
592 glShaderSource(fragShader, 1, &kColorUniformFragmentShader, nullptr); in TEST_P()
593 glCompileShader(fragShader); in TEST_P()
597 glAttachShader(program, fragShader); in TEST_P()
DGeometryShaderTest.cpp1558 GLShader fragShader(GL_FRAGMENT_SHADER); in TEST_P() local
1559 glShaderSource(fragShader, 1, &kFS, nullptr); in TEST_P()
1560 glCompileShader(fragShader); in TEST_P()
1565 glAttachShader(geomFragProg, fragShader); in TEST_P()
1603 glAttachShader(geomFragProg, fragShader); in TEST_P()
1608 glShaderSource(fragShader, 1, &otherFS, nullptr); in TEST_P()
1609 glCompileShader(fragShader); in TEST_P()
DBlendFuncExtendedTest.cpp807 std::stringstream fragShader; in TEST_P() local
808 fragShader << R"(#version 300 es in TEST_P()
820 GLuint fs = CompileShader(GL_FRAGMENT_SHADER, fragShader.str().c_str()); in TEST_P()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDifferingInterpolationTests.cpp61 string fragShader; member
131 const tcu::StringTemplate fragShader (string( in initPrograms() local
149 programCollection.glslSources.add("frag") << glu::FragmentSource(fragShader.specialize(empty)); in initPrograms()
150 …programCollection.glslSources.add("fragFlatColor") << glu::FragmentSource(fragShader.specialize(fl… in initPrograms()
151 …programCollection.glslSources.add("fragNoPerspective") << glu::FragmentSource(fragShader.specializ… in initPrograms()
164 const string fragShaderNames[2] = { m_data.fragShader, m_data.refFragShader }; in iterate()
DvktDrawAhbTests.cpp160 const PassthruFragShader fragShader; in generateRefImage() local
161 const rr::Program program (&vertShader, &fragShader); in generateRefImage()
236 std::stringstream fragShader; in initShaderSources() local
237 fragShader << "#version 430\n" in initShaderSources()
246 m_fragShaderSource = fragShader.str(); in initShaderSources()
DvktDrawExplicitVertexParameterTests.cpp255 const tcu::StringTemplate fragShader (string( in initPrograms() local
302 …programCollection.glslSources.add("frag") << glu::FragmentSource(fragShader.specialize(attributes)… in initPrograms()
DvktBasicDrawTests.cpp474 const PassthruFragShader fragShader; in generateRefImage() local
475 const rr::Program program (&vertShader, &fragShader); in generateRefImage()
611 std::stringstream fragShader; in initShaderSources() local
612 fragShader << "#version 430\n" in initShaderSources()
620 m_fragShaderSource = fragShader.str(); in initShaderSources()
DvktDrawInstancedTests.cpp683 const TestFragShader fragShader; in iterate() local
684 const rr::Program program (&vertShader, &fragShader); in iterate()
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp309 …:RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& fragShader) in logVertexFragmentProgram() argument
311 …DE_ASSERT(vertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYP… in logVertexFragmentProgram()
316 logShader(log, renderCtx, fragShader); in logVertexFragmentProgram()
409 const GLuint fragShader = glCreateShader(GL_FRAGMENT_SHADER); in compileShaders() local
412 TCU_CHECK(fragShader != 0); in compileShaders()
417 glShaderSource(fragShader, 1, &fragSource, 0); in compileShaders()
418 glCompileShader(fragShader); in compileShaders()
423 m_fragShader = fragShader; in compileShaders()
788 glu::Shader& fragShader = shaders.createShader(glu::SHADERTYPE_FRAGMENT); in buildProgram() local
791 fragShader.compile(); in buildProgram()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp363 …:RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& fragShader) in logVertexFragmentProgram() argument
365 …DE_ASSERT(vertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYP… in logVertexFragmentProgram()
370 logShader(log, renderCtx, fragShader); in logVertexFragmentProgram()
463 const GLuint fragShader = glCreateShader(GL_FRAGMENT_SHADER); in compileShaders() local
466 TCU_CHECK(fragShader != 0); in compileShaders()
471 glShaderSource(fragShader, 1, &fragSource, 0); in compileShaders()
472 glCompileShader(fragShader); in compileShaders()
477 m_fragShader = fragShader; in compileShaders()
848 glu::Shader& fragShader = shaders.createShader(glu::SHADERTYPE_FRAGMENT); in buildProgram() local
851 fragShader.compile(); in buildProgram()
[all …]
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp456 deUint32 fragShader; member
477 …void setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext&) con…
633 deUint32 fragShader; member
1692 result.fragShader = gl.createShader(GL_FRAGMENT_SHADER); in createShadersAndProgram()
1696 gl.attachShader(result.program, result.fragShader); in createShadersAndProgram()
1701 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramC… in setShaderSources() argument
1707 gl.shaderSource(fragShader, 1, &fragShaderSourceCStr, DE_NULL); in setShaderSources()
1808 gl.detachShader(shadersAndProgram.program, shadersAndProgram.fragShader); in cleanup()
1810 gl.deleteShader(shadersAndProgram.fragShader); in cleanup()
1828 result.frag = getShaderInfoLog(gl, shadersAndProgram.fragShader); in getLogs()
[all …]
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp456 deUint32 fragShader; member
477 …void setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext&) con…
633 deUint32 fragShader; member
1712 result.fragShader = gl.createShader(GL_FRAGMENT_SHADER); in createShadersAndProgram()
1716 gl.attachShader(result.program, result.fragShader); in createShadersAndProgram()
1721 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramC… in setShaderSources() argument
1727 gl.shaderSource(fragShader, 1, &fragShaderSourceCStr, DE_NULL); in setShaderSources()
1828 gl.detachShader(shadersAndProgram.program, shadersAndProgram.fragShader); in cleanup()
1830 gl.deleteShader(shadersAndProgram.fragShader); in cleanup()
1848 result.frag = getShaderInfoLog(gl, shadersAndProgram.fragShader); in getLogs()
[all …]
Des3pDepthTests.cpp477 inline ObjectData quadWith (const string& fragShader, float depth) in quadWith() argument
479 …return ObjectData(glu::makeVtxFragSources(getBaseVertexShader(), fragShader), getFullscreenQuad(de… in quadWith()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp415 VkShaderModule fragShader = DE_NULL; in registerDrawObject() local
540 fragShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
556 fragShader, // const VkShaderModule fragmentShaderModule in registerDrawObject()
/external/deqp/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRatePixelConsistency.cpp908 …Move<VkShaderModule> fragShader = createShaderModule(vk, device, m_context.getBinaryCollection().g… in iterate() local
926 *fragShader, // shader in iterate()
1052 …Move<VkShaderModule> fragShader = createShaderModule(vk, device, m_context.getBinaryCollection().g… in iterate() local
1070 *fragShader, // shader in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp482 Move<VkShaderModule> fragShader; in iterate() local
487 …if (hasGraphics) fragShader = createShaderModule(vkd, device, m_context.getBinaryCollection().get(… in iterate()
517 vertShader.get(), DE_NULL, DE_NULL, DE_NULL, fragShader.get(), // Shaders. in iterate()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm963 id<MTLFunction> fragShader = nil;
983 context, gl::ShaderType::Fragment, desc, &fragShader)))
991 fragShader = mFragmentShader;
1004 AutoObjCObj<MTLRenderPipelineDescriptor> objCDesc = ToObjC(vertShader, fragShader, desc);
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp121 CheckedProgram (const RenderContext& renderCtx, GLuint vtxShader, GLuint fragShader) in CheckedProgram() argument
125 attachShader(fragShader); in CheckedProgram()
1013 CheckedShader fragShader (getRenderContext(), in testDeleteUsed() local
1016 vtxShader.getShader(), fragShader.getShader()); in testDeleteUsed()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp634 static const char* fragShader = in initPrograms() local
646 programCollection.glslSources.add("frag") << glu::FragmentSource(fragShader); in initPrograms()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp501 …const VkShaderModule fragShader = shaderFlags & VK_SHADER_STAGE_FRAGMENT_BIT ? **shaderModules[V… in makeGraphicsPipeline() local
510 fragShader, // const VkShaderModule fragmentShaderModule in makeGraphicsPipeline()
/external/deqp/modules/internal/
DditFrameworkTests.cpp767 } fragShader; in runCase() local
769 const rr::Program program (&vtxShader, &fragShader); in runCase()
/external/skia/tools/viewer/
DViewer.cpp2520 SkSL::String& fragShader = entry.fShader[kFragment_GrShaderType]; in drawImGui() local
2523 fragShader = build_sksl_highlight_shader(); in drawImGui()
2527 fragShader = build_glsl_highlight_shader( in drawImGui()
2532 fragShader = build_metal_highlight_shader(fragShader); in drawImGui()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp313 const RefFragmentShader fragShader; in renderReferenceTriangle() local
314 const rr::Program program (&vertShader, &fragShader); in renderReferenceTriangle()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp131 const RefFragmentShader fragShader; in renderReferenceTriangle() local
132 const rr::Program program(&vertShader, &fragShader); in renderReferenceTriangle()

12