/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sLongRunningShaderTests.cpp | 327 …{ "short_for_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAMIC, nu… in init() 329 …{ "short_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_WHILE, ITERCOUNTTYPE_DYNAMIC,… in init() 331 …{ "short_do_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_DO_WHILE, ITERCOUNTTYPE_DYNA… in init() 334 …{ "medium_static_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_WHILE, ITERCOUNTTYPE_ST… in init() 336 …{ "medium_uniform_for_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_FOR, ITERCOUNTTYPE_UNIFO… in init() 339 …{ "medium_dynamic_for_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_FOR, ITERCOUNTTYPE_DYNAM… in init() 341 …{ "medium_dynamic_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_WHILE, ITERCOUNTTYPE_D… in init() 343 …{ "medium_dynamic_do_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_DO_WHILE, ITERCOUNTTY… in init() 346 …{ "long_static_do_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_DO_WHILE, ITERCOUNTTYPE… in init() 348 …{ "long_uniform_do_while_fragment", "", glu::SHADERTYPE_FRAGMENT, LOOPTYPE_DO_WHILE, ITERCOUNTTYP… in init() [all …]
|
D | es3sLongShaderTests.cpp | 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in getConstShaderSource() 214 …SERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT); in LongShaderGenerator() 233 if (m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) in generateSource() 374 DE_ASSERT(m_shaderType == glu::SHADERTYPE_VERTEX || m_shaderType == glu::SHADERTYPE_FRAGMENT); in LongShaderCompileStressCase() 389 …ype otherShader = (m_shaderType == glu::SHADERTYPE_VERTEX) ? glu::SHADERTYPE_FRAGMENT : glu::SHAD… in iterate() 456 …:ShaderType shaderType = (shaderTypeInt == 0) ? glu::SHADERTYPE_VERTEX : glu::SHADERTYPE_FRAGMENT; in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeShaderDirectiveTests.cpp | 199 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in blend_equation_advanced() 229 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in sample_variables() 259 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in shader_image_atomic() 290 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in shader_multisample_interpolation() 305 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in shader_multisample_interpolation() 330 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in texture_storage_multisample_2d_array() 371 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in gpu_shader_5() 384 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in gpu_shader_5() 399 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in gpu_shader_5() 419 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); in shader_io_blocks() [all …]
|
D | es31fNegativeShaderFramebufferFetchTests.cpp | 144 verifyProgramError(ctx, program, PROGRAM_ERROR_LINK, glu::SHADERTYPE_FRAGMENT); in last_frag_data_not_defined() 171 verifyProgramError(ctx, program, PROGRAM_ERROR_COMPILE_OR_LINK, glu::SHADERTYPE_FRAGMENT); in last_frag_data_readonly() 197 verifyProgramError(ctx, program, PROGRAM_ERROR_COMPILE_OR_LINK, glu::SHADERTYPE_FRAGMENT); in invalid_inout_version() 229 verifyProgramError(ctx, program, PROGRAM_ERROR_COMPILE_OR_LINK, glu::SHADERTYPE_FRAGMENT); in invalid_redeclaration_inout()
|
D | es31fNegativeSampleVariablesTests.cpp | 132 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, shader.str(), EXPECT_RESULT_FAIL); in write_to_read_only_types() 272 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, shader.str(), EXPECT_RESULT_FAIL); in index_outside_sample_mask_range() 309 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, shader.str(), EXPECT_RESULT_FAIL); in access_built_in_types_without_extension() 351 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, shader.str(), EXPECT_RESULT_FAIL); in redeclare_built_in_types()
|
D | es31fLayoutBindingTests.cpp | 74 SHADERTYPE_FRAGMENT, enumerator 119 case SHADERTYPE_FRAGMENT: in generateVertexShader() 147 case SHADERTYPE_FRAGMENT: in generateFragmentShader() 202 case SHADERTYPE_FRAGMENT: in generateTessControlShader() 246 case SHADERTYPE_FRAGMENT: in generateTessEvaluationShader() 418 case SHADERTYPE_FRAGMENT: in init() 458 …if ( ((m_shaderType == SHADERTYPE_FRAGMENT) || (m_shaderType == SHADERTYPE_ALL)) && (maxFragmentUn… in init() 826 case SHADERTYPE_FRAGMENT: in init() 880 …if (((m_shaderType == SHADERTYPE_FRAGMENT) || (m_shaderType == SHADERTYPE_ALL)) && (maxFragmentUni… in init() 936 || !(m_program->getShaderInfo(glu::SHADERTYPE_FRAGMENT).compileOk) in iterate() [all …]
|
D | es31fBuiltinPrecisionTests.cpp | 57 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests()
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 257 case glu::SHADERTYPE_FRAGMENT: in getShaderTypeDeclarations() 1254 DE_ASSERT(shader->getType() == glu::SHADERTYPE_FRAGMENT); in getFragmentOutputMaxLocation() 1419 else if (shaderType == glu::SHADERTYPE_FRAGMENT && resources.empty()) in getProgramInterfaceResourceList() 1437 else if (shaderType == glu::SHADERTYPE_FRAGMENT && resources.empty()) in getProgramInterfaceResourceList() 1606 case glu::SHADERTYPE_FRAGMENT: in generateProgramInterfaceProgramSources() 1689 if (shader->getType() == glu::SHADERTYPE_FRAGMENT) in generateProgramInterfaceProgramSources() 1773 case glu::SHADERTYPE_FRAGMENT: in getShaderResourceUsage() 1869 …case glu::SHADERTYPE_FRAGMENT: retVal.numCombinedFragmentUniformComponents += getNumComponent… in getCombinedProgramResourceUsage() 1885 else if (shader->getType() == glu::SHADERTYPE_FRAGMENT) in getCombinedProgramResourceUsage() 1903 if (shader->getType() == glu::SHADERTYPE_FRAGMENT) in getCombinedProgramResourceUsage()
|
D | es31fProgramInterfaceQueryTests.cpp | 181 if (mask & (1u << glu::SHADERTYPE_FRAGMENT)) in getShaderMaskFirstStage() 182 return glu::SHADERTYPE_FRAGMENT; in getShaderMaskFirstStage() 190 if (mask & (1u << glu::SHADERTYPE_FRAGMENT)) in getShaderMaskLastStage() 191 return glu::SHADERTYPE_FRAGMENT; in getShaderMaskLastStage() 2773 { GL_REFERENCED_BY_FRAGMENT_SHADER, glu::SHADERTYPE_FRAGMENT, DE_NULL }, in iterate() 2897 : (m_caseType == CASE_SEPARABLE_FRAGMENT) ? (glu::SHADERTYPE_FRAGMENT) in init() 2925 …ProgramInterfaceDefinition::Shader* fragment = m_program->addShader(glu::SHADERTYPE_FRAGMENT, glsl… in init() 3020 { GL_REFERENCED_BY_FRAGMENT_SHADER, glu::SHADERTYPE_FRAGMENT, DE_NULL }, in iterate() 4240 { "separable_fragment", glu::SHADERTYPE_FRAGMENT, 2 }, in generateReferencedByShaderCaseBlocks() 4255 (1 << glu::SHADERTYPE_VERTEX) | (1 << glu::SHADERTYPE_FRAGMENT), in generateReferencedByShaderCaseBlocks() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 81 case glu::SHADERTYPE_FRAGMENT: in getSimpleShaderSource() 196 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in next() 311 …ertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYPE_FRAGMENT); in logVertexFragmentProgram() 406 const char* fragSource = getSimpleShaderSource(glu::SHADERTYPE_FRAGMENT); in compileShaders() 553 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) str += " gl_FragColor = vec4(variable);\n"; in generateSecondSource() 638 DE_ASSERT(m_shaderType == glu::SHADERTYPE_VERTEX || m_shaderType == glu::SHADERTYPE_FRAGMENT); in ShaderSourceSplitCase() 657 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) str += " gl_FragColor = vec4(variable);\n"; in generateFullSource() 704 …upportShaderType = (m_shaderType == glu::SHADERTYPE_FRAGMENT ? glu::SHADERTYPE_VERTEX : glu::SHADE… in buildProgram() 780 DE_ASSERT(m_shaderType == glu::SHADERTYPE_VERTEX || m_shaderType == glu::SHADERTYPE_FRAGMENT); in ProgramStateCase() 788 glu::Shader& fragShader = shaders.createShader(glu::SHADERTYPE_FRAGMENT); in buildProgram() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 98 case glu::SHADERTYPE_FRAGMENT: in getSimpleShaderSource() 241 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in next() 251 if (shaderType == glu::SHADERTYPE_FRAGMENT) in next() 365 …ertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYPE_FRAGMENT); in logVertexFragmentProgram() 460 const char* fragSource = getSimpleShaderSource(glu::SHADERTYPE_FRAGMENT); in compileShaders() 602 if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in generateSecondSource() 610 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) out << " o_fragColor = vec4(variable);\n"; in generateSecondSource() 695 DE_ASSERT(m_shaderType == glu::SHADERTYPE_VERTEX || m_shaderType == glu::SHADERTYPE_FRAGMENT); in ShaderSourceSplitCase() 709 if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in generateFullSource() 717 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) out << " o_fragColor = vec4(variable);\n"; in generateFullSource() [all …]
|
D | es3fShaderPackingFunctionTests.cpp | 730 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_LOWP)); in init() 732 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init() 734 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_HIGHP)); in init() 737 addChild(new UnpackSnorm2x16Case(m_context, glu::SHADERTYPE_FRAGMENT)); in init() 740 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_LOWP)); in init() 742 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init() 744 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_HIGHP)); in init() 747 addChild(new UnpackUnorm2x16Case(m_context, glu::SHADERTYPE_FRAGMENT)); in init() 750 addChild(new PackHalf2x16Case (m_context, glu::SHADERTYPE_FRAGMENT)); in init() 753 addChild(new UnpackHalf2x16Case (m_context, glu::SHADERTYPE_FRAGMENT)); in init()
|
D | es3fBuiltinPrecisionTests.cpp | 47 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cPostDepthCoverageTests.cpp | 154 << "Fragment: " << program1.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 168 << "Fragment: " << program2.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 181 << "Fragment: " << program3.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 194 << "Fragment: " << program4.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 367 << "Fragment: " << program1a.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 380 << "Fragment: " << program1b.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 393 << "Fragment: " << program2.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate()
|
D | gl4cShaderBallotTests.cpp | 70 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("#version 450 core\n"); in ShaderPipeline() 71 …m_shaders[glu::SHADERTYPE_FRAGMENT].push_back(m_testedShader == glu::SHADERTYPE_FRAGMENT ? testedH… in ShaderPipeline() 72 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("in highp vec4 gsColor;\n" in ShaderPipeline() 77 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back( in ShaderPipeline() 78 m_testedShader == glu::SHADERTYPE_FRAGMENT ? testedContentPart : " outColor = gsColor;\n"); in ShaderPipeline() 79 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back(" fsColor = outColor;\n" in ShaderPipeline() 273 sources.sources[glu::SHADERTYPE_FRAGMENT].push_back(fs); in executeComputeShader()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderNegativeTests.cpp | 103 bool fragmentOk = program.getShaderInfo(SHADERTYPE_FRAGMENT).compileOk; in iterate() 183 bool fragmentOk = program.getShaderInfo(SHADERTYPE_FRAGMENT).compileOk; in iterate() 260 bool fragmentOk = program.getShaderInfo(SHADERTYPE_FRAGMENT).compileOk; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateVPTests.cpp | 125 …ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in ViewportParamTestInstance() 172 …ViewportStateBaseCase (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in ScissorParamTestInstance() 223 …DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in ViewportArrayTestInstance() 370 shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag"; in init()
|
D | vktDynamicStateCBTests.cpp | 51 …DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in BlendConstantsTestInstance() 169 shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag"; in init()
|
D | vktDynamicStateGeneralTests.cpp | 60 …DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in StateSwitchTestInstance() 152 …DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in BindOrderTestInstance() 250 …DynamicStateBaseClass (context, shaders[glu::SHADERTYPE_VERTEX], shaders[glu::SHADERTYPE_FRAGMENT]) in StatePersistenceTestInstance() 395 shaderPaths[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag"; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderClockTests.cpp | 230 glu::SHADERTYPE_FRAGMENT, in addShaderClockTests() 247 : (stages[i] == glu::SHADERTYPE_FRAGMENT) ? ("fragment") in addShaderClockTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 99 …t, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.… in DrawTest() 377 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init() 392 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init() 409 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init()
|
D | vktDrawSimpleTest.cpp | 64 …t, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.… in SimpleDraw() 313 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init() 326 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init()
|
D | vktDrawIndexedTest.cpp | 72 …t, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.… in DrawIndexed() 341 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init() 354 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/draw/VertexFetch.frag"; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalClearAttachmentTests.cpp | 71 …t, testSpec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], false, vk… in ConditionalClearAttachmentTest() 244 testSpec.shaders[glu::SHADERTYPE_FRAGMENT] = "vulkan/dynamic_state/VertexFetch.frag"; in init()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderProgram.hpp | 287 FragmentSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_FRAGMENT, source_) {} in FragmentSource() 427 …entBinary (const ShaderBinaryDataType binary_) : ShaderBinary(binary_, glu::SHADERTYPE_FRAGMENT) {} in FragmentBinary() 475 sources.sources[SHADERTYPE_FRAGMENT].push_back(fragmentSrc); in makeVtxFragSources()
|