/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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&);
|
/third_party/vk-gl-cts/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 | 221 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in VertexExpanderShader() 222 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 223 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 224 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 225 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 226 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader() 227 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader() 228 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader() 229 … << sglr::pdec::GeometryShaderDeclaration(inputType, outputType, calcOutputVertices(inputType)) in VertexExpanderShader() 230 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType))) in VertexExpanderShader() [all …]
|
D | es31fDrawTests.cpp | 720 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in GridProgram() 721 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in GridProgram() 722 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT) in GridProgram() 723 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in GridProgram() 724 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in GridProgram() 725 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in GridProgram() 726 << sglr::pdec::VertexSource("#version 310 es\n" in GridProgram() 736 << sglr::pdec::FragmentSource( in GridProgram()
|
/third_party/vk-gl-cts/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 | 697 …static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ct… 1060 sglr::pdec::ShaderProgramDeclaration ContextShaderProgram::createProgramDeclaration (const glu::Ren… in createProgramDeclaration() 1062 sglr::pdec::ShaderProgramDeclaration decl; in createProgramDeclaration() 1065 …decl << sglr::pdec::VertexAttribute(std::string("a_") + de::toString(arrayNdx), mapOutputType(arra… in createProgramDeclaration() 1067 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1068 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1070 decl << sglr::pdec::VertexSource(genVertexSource(ctx, arrays)); in createProgramDeclaration() 1071 decl << sglr::pdec::FragmentSource(genFragmentSource(ctx)); in createProgramDeclaration() 1073 decl << sglr::pdec::Uniform("u_coordScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1074 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration()
|
D | glsDrawTest.cpp | 1122 …static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ct… 1480 sglr::pdec::ShaderProgramDeclaration DrawTestShaderProgram::createProgramDeclaration (const glu::Re… in createProgramDeclaration() 1482 sglr::pdec::ShaderProgramDeclaration decl; in createProgramDeclaration() 1485 …decl << sglr::pdec::VertexAttribute(std::string("a_") + de::toString(arrayNdx), mapOutputType(arra… in createProgramDeclaration() 1487 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1488 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in createProgramDeclaration() 1490 decl << sglr::pdec::VertexSource(genVertexSource(ctx, arrays)); in createProgramDeclaration() 1491 decl << sglr::pdec::FragmentSource(genFragmentSource(ctx)); in createProgramDeclaration() 1493 decl << sglr::pdec::Uniform("u_coordScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1494 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration()
|
/third_party/vk-gl-cts/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()
|
/third_party/libsnd/src/ |
D | alac.c | 405 { ALAC_DECODER *pdec = &plac->decoder ; in alac_decode_block() local 430 alac_decode (pdec, &bit_buffer, plac->buffer, plac->frames_per_block, &plac->frames_this_block) ; in alac_decode_block()
|