/external/angle/src/tests/gl_tests/ |
D | AtomicCounterBufferTest.cpp | 163 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 175 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.0f); in TEST_P() 204 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 226 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.0f); in TEST_P() 252 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 298 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.0f); in TEST_P() 555 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 558 drawQuad(program, essl31_shaders::PositionAttrib(), 0.0f); in TEST_P() 581 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 584 drawQuad(program, essl31_shaders::PositionAttrib(), 0.0f); in TEST_P()
|
D | ProgramPipelineTest.cpp | 289 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 290 const GLchar *fragString = essl31_shaders::fs::Red(); in TEST_P() 320 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 321 const GLchar *fragString = essl31_shaders::fs::Red(); in TEST_P() 337 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 395 const GLchar *vertString = essl31_shaders::vs::Passthrough(); in TEST_P() 472 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 473 const GLchar *fragString = essl31_shaders::fs::Green(); in TEST_P() 617 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 618 const GLchar *fragString = essl31_shaders::fs::Red(); in TEST_P() [all …]
|
D | GeometryShaderTest.cpp | 210 GLuint vertexShader = CompileShader(GL_VERTEX_SHADER, essl31_shaders::vs::Simple()); in TEST_P() 211 GLuint fragmentShader = CompileShader(GL_FRAGMENT_SHADER, essl31_shaders::fs::Red()); in TEST_P() 261 GLuint program = CompileProgramWithGS(essl31_shaders::vs::Simple(), in TEST_P() 262 gsWithoutInvocations.c_str(), essl31_shaders::fs::Red()); in TEST_P() 269 program = CompileProgramWithGS(essl31_shaders::vs::Simple(), gsWithoutInputPrimitive.c_str(), in TEST_P() 270 essl31_shaders::fs::Red()); in TEST_P() 273 program = CompileProgramWithGS(essl31_shaders::vs::Simple(), gsWithoutOutputPrimitive.c_str(), in TEST_P() 274 essl31_shaders::fs::Red()); in TEST_P() 277 program = CompileProgramWithGS(essl31_shaders::vs::Simple(), gsWithoutMaxVertices.c_str(), in TEST_P() 278 essl31_shaders::fs::Red()); in TEST_P() [all …]
|
D | TextureMultisampleTest.cpp | 488 drawQuad(texelFetchProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 623 GLuint program = CompileProgram(essl31_shaders::vs::Simple(), kFSRequiresExtension); in TEST_P() 636 program = CompileProgram(essl31_shaders::vs::Simple(), kFSEnableAndUseExtension); in TEST_P() 927 ANGLE_GL_PROGRAM(texSizeProgram, essl31_shaders::vs::Simple(), kFS); in TEST_P() 943 drawQuad(texSizeProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 955 ANGLE_GL_PROGRAM(texelFetchProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1001 drawQuad(texelFetchProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1014 ANGLE_GL_PROGRAM(texelFetchProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1064 drawQuad(texelFetchProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1109 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() [all …]
|
D | VulkanDescriptorSetTest.cpp | 81 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 94 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.0f); in TEST_P()
|
D | BindUniformLocationTest.cpp | 475 linkProgramWithUniformLocation(essl31_shaders::vs::Zero(), kFS, "tex", texLocation); in TEST_P() 506 linkProgramWithUniformLocation(essl31_shaders::vs::Zero(), kFS, "tex", texLocation); in TEST_P() 539 linkProgramWithUniformLocation(essl31_shaders::vs::Zero(), kFS, "tex2", tex2Location); in TEST_P() 563 linkProgramWithUniformLocation(essl31_shaders::vs::Simple(), kFS, "sourceColor[1]", location); in TEST_P() 572 drawQuad(mProgram, essl31_shaders::PositionAttrib(), 0.5f); in TEST_P()
|
D | FramebufferTest.cpp | 1297 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1298 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 1299 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1344 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1345 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 1346 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1396 ANGLE_GL_PROGRAM(redProgram, essl31_shaders::vs::Simple(), essl31_shaders::fs::Red()); in TEST_P() 1397 drawQuad(redProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1411 ANGLE_GL_PROGRAM(greenProgram, essl31_shaders::vs::Simple(), essl31_shaders::fs::Green()); in TEST_P() 1412 drawQuad(greenProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() [all …]
|
D | ContextNoErrorTest.cpp | 155 const GLchar *vertString = essl31_shaders::vs::Simple(); in TEST_P() 156 const GLchar *fragString = essl31_shaders::fs::Red(); in TEST_P()
|
D | ProgramInterfaceTest.cpp | 104 createGraphicsProgram(program, essl31_shaders::vs::Simple(), kFS, std::get<1>(GetParam())); in TEST_P() 107 glGetProgramResourceIndex(program, GL_PROGRAM_INPUT, essl31_shaders::PositionAttrib()); in TEST_P() 141 createGraphicsProgram(program, essl31_shaders::vs::Simple(), kFS, std::get<1>(GetParam())); in TEST_P() 144 glGetProgramResourceIndex(program, GL_PROGRAM_INPUT, essl31_shaders::PositionAttrib()); in TEST_P() 152 EXPECT_EQ(static_cast<int>(strlen(essl31_shaders::PositionAttrib())), length); in TEST_P() 153 EXPECT_EQ(essl31_shaders::PositionAttrib(), std::string(name)); in TEST_P() 158 EXPECT_TRUE(angle::BeginsWith(essl31_shaders::PositionAttrib(), name)); in TEST_P() 349 createGraphicsProgram(program, essl31_shaders::vs::Simple(), kFS, std::get<1>(GetParam())); in TEST_P()
|
D | GLSLTest.cpp | 2787 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 3605 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 3606 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 3838 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 3852 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 3879 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 3918 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 3943 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 3967 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 4364 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() [all …]
|
D | PixmapTest.cpp | 193 drawQuad(mTextureProgram, essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 254 drawQuad(mTextureProgram, essl31_shaders::PositionAttrib(), 0.5f); in TEST_P()
|
D | StateChangeTest.cpp | 4121 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 4124 GLint positionLoc = glGetAttribLocation(program, essl31_shaders::PositionAttrib()); in TEST_P() 4207 ANGLE_GL_PROGRAM(sampleProgram, essl31_shaders::vs::Simple(), kFSSample); in TEST_P() 4220 ANGLE_GL_PROGRAM(writeProgram, essl31_shaders::vs::Simple(), kFSWrite); in TEST_P() 4223 GLint positionLocSample = glGetAttribLocation(sampleProgram, essl31_shaders::PositionAttrib()); in TEST_P() 4227 GLint positionLocWrite = glGetAttribLocation(writeProgram, essl31_shaders::PositionAttrib()); in TEST_P() 4308 ANGLE_GL_PROGRAM(readProgram, essl31_shaders::vs::Simple(), kFSRead); in TEST_P() 4323 ANGLE_GL_PROGRAM(writeProgram, essl31_shaders::vs::Simple(), kFSWrite); in TEST_P() 4326 GLint positionLocRead = glGetAttribLocation(readProgram, essl31_shaders::PositionAttrib()); in TEST_P() 4330 GLint positionLocWrite = glGetAttribLocation(writeProgram, essl31_shaders::PositionAttrib()); in TEST_P() [all …]
|
D | ClipDistanceTest.cpp | 1155 ANGLE_GL_PROGRAM_WITH_GS(programRed, kVS, kGS, essl31_shaders::fs::Red()); in TEST_P() 1310 ANGLE_GL_PROGRAM_WITH_GS(programRed, kVS, kGS, essl31_shaders::fs::Red()); in TEST_P()
|
D | UniformBufferTest.cpp | 721 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P() 749 drawQuad(program, essl31_shaders::PositionAttrib(), 0.5f); in TEST_P() 816 ANGLE_GL_PROGRAM(verifyUbo, essl31_shaders::vs::Simple(), kVerifyUBO); in TEST_P() 817 drawQuad(verifyUbo, essl31_shaders::PositionAttrib(), 0.5); in TEST_P()
|
D | VulkanPerformanceCounterTest.cpp | 423 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 424 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 425 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P()
|
D | UniformTest.cpp | 1177 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Zero(), kFS); in TEST_P()
|
D | MemoryBarrierTest.cpp | 530 programOut->makeRaster(essl31_shaders::vs::Simple(), fs); in createProgram() 598 GLint positionLoc = glGetAttribLocation(program, essl31_shaders::PositionAttrib()); in setupVertexArray()
|
D | ComputeShaderTest.cpp | 716 ANGLE_GL_PROGRAM(verifyUbo, essl31_shaders::vs::Simple(), kVerifyUBO); in TEST_P() 717 drawQuad(verifyUbo, essl31_shaders::PositionAttrib(), 0.5); in TEST_P()
|
D | TextureTest.cpp | 9550 ANGLE_GL_PROGRAM(verifyUbo, essl31_shaders::vs::Simple(), kVerifyUBO); in TEST_P() 9551 drawQuad(verifyUbo, essl31_shaders::PositionAttrib(), 0.5); in TEST_P() 9574 ANGLE_GL_PROGRAM(verifySamplerBuffer, essl31_shaders::vs::Simple(), kVerifySamplerBuffer); in TEST_P() 9578 drawQuad(verifySamplerBuffer, essl31_shaders::PositionAttrib(), 0.5); in TEST_P()
|
/external/angle/src/tests/egl_tests/ |
D | EGLPreRotationTest.cpp | 1178 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1179 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 1180 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1224 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1225 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 1236 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1304 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() 1305 essl31_shaders::fs::RedGreenGradient()); in TEST_P() 1316 drawQuad(gradientProgram, essl31_shaders::PositionAttrib(), 0.5f, 1.0f, true); in TEST_P() 1389 ANGLE_GL_PROGRAM(gradientProgram, essl31_shaders::vs::Passthrough(), in TEST_P() [all …]
|
/external/angle/util/ |
D | shader_utils.h | 157 namespace essl31_shaders
|
D | shader_utils.cpp | 678 namespace essl31_shaders namespace
|