/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 78 : ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in FlatColorShader() 79 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 80 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 81 << sglr::pdec::FragmentOutput(mapDataTypeToGenericVecType(outputType)) in FlatColorShader() 82 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in FlatColorShader() 83 << sglr::pdec::VertexSource( in FlatColorShader() 90 << sglr::pdec::FragmentSource( in FlatColorShader() 152 : ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in GradientShader() 153 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in GradientShader() 154 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in GradientShader() [all …]
|
D | es3fDepthTests.cpp | 64 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in DepthShader() 65 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in DepthShader() 66 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in DepthShader() 67 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in DepthShader() 68 << sglr::pdec::VertexSource("#version 300 es\n" in DepthShader() 74 << sglr::pdec::FragmentSource("#version 300 es\n" in DepthShader()
|
D | es3fStencilTests.cpp | 62 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in StencilShader() 63 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in StencilShader() 64 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in StencilShader() 65 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in StencilShader() 66 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in StencilShader() 67 << sglr::pdec::VertexSource("#version 300 es\n" in StencilShader() 73 << sglr::pdec::FragmentSource("#version 300 es\n" in StencilShader()
|
D | es3fTextureUnitTests.cpp | 249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const v… in generateShaderProgramDeclaration() 251 sglr::pdec::ShaderProgramDeclaration decl; in generateShaderProgramDeclaration() 253 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 254 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 255 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 256 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 265 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]); in generateShaderProgramDeclaration() 266 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT4); in generateShaderProgramDeclaration() 267 decl << sglr::pdec::Uniform(scaleName, glu::TYPE_FLOAT_VEC4); in generateShaderProgramDeclaration() 268 decl << sglr::pdec::Uniform(biasName, glu::TYPE_FLOAT_VEC4); in generateShaderProgramDeclaration() [all …]
|
D | es3fDrawTests.cpp | 585 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in GridProgram() 586 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in GridProgram() 587 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT) in GridProgram() 588 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in GridProgram() 589 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in GridProgram() 590 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in GridProgram() 591 << sglr::pdec::VertexSource("#version 300 es\n" in GridProgram() 601 << sglr::pdec::FragmentSource( in GridProgram()
|
D | es3fPolygonOffsetTests.cpp | 216 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in PositionColorShader() 217 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 218 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 219 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 220 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 221 << sglr::pdec::VertexSource(s_shaderSourceVertex) in PositionColorShader() 222 << sglr::pdec::FragmentSource(s_shaderSourceFragment)) in PositionColorShader()
|
D | es3fClippingTests.cpp | 409 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in PositionColorShader() 410 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 411 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 412 << sglr::pdec::VertexAttribute("a_pointSize", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 413 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 414 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 415 << sglr::pdec::VertexSource(shaderSourceVertex) in PositionColorShader() 416 << sglr::pdec::FragmentSource(shaderSourceFragment)) in PositionColorShader()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrShaderProgram.cpp | 28 namespace pdec namespace 39 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const VertexAttribute& v) in operator <<() 45 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const VertexToFragmentVarying… in operator <<() 51 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const VertexToGeometryVarying… in operator <<() 57 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const GeometryToFragmentVaryi… in operator <<() 63 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const FragmentOutput& v) in operator <<() 69 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const Uniform& v) in operator <<() 75 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const VertexSource& c) in operator <<() 83 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const FragmentSource& c) in operator <<() 91 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const GeometrySource& c) in operator <<() [all …]
|
D | sglrShaderProgram.hpp | 48 namespace pdec namespace 229 ShaderProgram (const pdec::ShaderProgramDeclaration&);
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestUtil.cpp | 116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, … in genTexture2DShaderDecl() 118 sglr::pdec::ShaderProgramDeclaration decl; in genTexture2DShaderDecl() 120 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 121 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 122 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 123 decl << sglr::pdec::FragmentOutput(mapDataTypeToGenericVecType(outputType)); in genTexture2DShaderDecl() 125 decl << sglr::pdec::VertexSource( in genTexture2DShaderDecl() 135 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl() 137 decl << sglr::pdec::Uniform("u_outScale0", glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl() 138 decl << sglr::pdec::Uniform("u_outBias0", glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl() [all …]
|
D | es31fGeometryShaderTests.cpp | 212 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in VertexExpanderShader() 213 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 214 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 215 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 216 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 217 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 218 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader() 219 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader() 220 … << sglr::pdec::GeometryShaderDeclaration(inputType, outputType, calcOutputVertices(inputType)) in VertexExpanderShader() 221 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType))) in VertexExpanderShader() [all …]
|
D | es31fDrawTests.cpp | 716 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in GridProgram() 717 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in GridProgram() 718 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT) in GridProgram() 719 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in GridProgram() 720 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in GridProgram() 721 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in GridProgram() 722 << sglr::pdec::VertexSource("#version 310 es\n" in GridProgram() 732 << sglr::pdec::FragmentSource( in GridProgram()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 70 static void generateProgramDeclaration (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shad… in generateProgramDeclaration() 72 decl << sglr::pdec::VertexSource(vertexShader.getSource()) in generateProgramDeclaration() 73 << sglr::pdec::FragmentSource(fragmentShader.getSource()); in generateProgramDeclaration() 78 …decl << sglr::pdec::VertexAttribute(vertexInput->getVariable()->getName(), mapToGenericVecType(ver… in generateProgramDeclaration() 84 …decl << sglr::pdec::VertexToFragmentVarying(mapToGenericVecType(fragInput->getVariable()->getType(… in generateProgramDeclaration() 90 …decl << sglr::pdec::Uniform(uniform->getVariable()->getName(), mapToBasicType(uniform->getVariable… in generateProgramDeclaration() 93 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in generateProgramDeclaration() 96 static sglr::pdec::ShaderProgramDeclaration generateProgramDeclaration (const rsg::Shader& vertexSh… in generateProgramDeclaration() 98 sglr::pdec::ShaderProgramDeclaration decl; in generateProgramDeclaration()
|
D | glsVertexArrayTests.cpp | 760 …static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ct… 1123 sglr::pdec::ShaderProgramDeclaration ContextShaderProgram::createProgramDeclaration (const glu::Ren… in createProgramDeclaration() 1125 sglr::pdec::ShaderProgramDeclaration decl; in createProgramDeclaration() 1128 …decl << sglr::pdec::VertexAttribute(std::string("a_") + de::toString(arrayNdx), mapOutputType(arra… in createProgramDeclaration() 1130 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1131 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1133 decl << sglr::pdec::VertexSource(genVertexSource(ctx, arrays)); in createProgramDeclaration() 1134 decl << sglr::pdec::FragmentSource(genFragmentSource(ctx)); in createProgramDeclaration() 1136 decl << sglr::pdec::Uniform("u_coordScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1137 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration()
|
D | glsDrawTest.cpp | 1134 …static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ct… 1492 sglr::pdec::ShaderProgramDeclaration DrawTestShaderProgram::createProgramDeclaration (const glu::Re… in createProgramDeclaration() 1494 sglr::pdec::ShaderProgramDeclaration decl; in createProgramDeclaration() 1497 …decl << sglr::pdec::VertexAttribute(std::string("a_") + de::toString(arrayNdx), mapOutputType(arra… in createProgramDeclaration() 1499 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1500 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1502 decl << sglr::pdec::VertexSource(genVertexSource(ctx, arrays)); in createProgramDeclaration() 1503 decl << sglr::pdec::FragmentSource(genFragmentSource(ctx)); in createProgramDeclaration() 1505 decl << sglr::pdec::Uniform("u_coordScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1506 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthTests.cpp | 64 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in DepthShader() 65 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in DepthShader() 66 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in DepthShader() 67 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in DepthShader() 68 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n" in DepthShader() 73 << sglr::pdec::FragmentSource("uniform mediump vec4 u_color;\n" in DepthShader()
|
D | es2fStencilTests.cpp | 62 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in StencilShader() 63 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in StencilShader() 64 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in StencilShader() 65 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in StencilShader() 66 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in StencilShader() 67 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n" in StencilShader() 72 << sglr::pdec::FragmentSource("uniform mediump vec4 u_color;\n" in StencilShader()
|
D | es2fTextureUnitTests.cpp | 173 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const G… in generateShaderProgramDeclaration() 175 sglr::pdec::ShaderProgramDeclaration decl; in generateShaderProgramDeclaration() 177 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 178 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 179 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 180 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration() 187 …decl << sglr::pdec::Uniform(samplerName, (unitTypes[ndx] == GL_TEXTURE_2D) ? (glu::TYPE_SAMPLER_2D… in generateShaderProgramDeclaration() 188 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT3); in generateShaderProgramDeclaration() 191 decl << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n" in generateShaderProgramDeclaration() 200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes)); in generateShaderProgramDeclaration()
|
D | es2fFboRenderTest.cpp | 68 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in FlatColorShader() 69 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 70 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 71 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4) in FlatColorShader() 72 << sglr::pdec::VertexSource( in FlatColorShader() 78 << sglr::pdec::FragmentSource( in FlatColorShader() 115 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in SingleTex2DShader() 116 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader() 117 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader() 118 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in SingleTex2DShader() [all …]
|
D | es2fTextureSpecificationTests.cpp | 112 : ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in GradientShader() 113 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in GradientShader() 114 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in GradientShader() 115 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in GradientShader() 116 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in GradientShader() 117 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n" in GradientShader() 125 << sglr::pdec::FragmentSource("varying mediump vec2 v_coord;\n" in GradientShader() 168 : ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in Tex2DShader() 169 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in Tex2DShader() 170 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in Tex2DShader() [all …]
|
D | es2fPolygonOffsetTests.cpp | 213 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in PositionColorShader() 214 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 215 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 216 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 217 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 218 << sglr::pdec::VertexSource(s_shaderSourceVertex) in PositionColorShader() 219 << sglr::pdec::FragmentSource(s_shaderSourceFragment)) in PositionColorShader()
|
D | es2fClippingTests.cpp | 406 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in PositionColorShader() 407 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 408 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 409 << sglr::pdec::VertexAttribute("a_pointSize", rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 410 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 411 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in PositionColorShader() 412 << sglr::pdec::VertexSource(shaderSourceVertex) in PositionColorShader() 413 << sglr::pdec::FragmentSource(shaderSourceFragment)) in PositionColorShader()
|