• Home
  • Raw
  • Download

Lines Matching refs:pdec

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()
142 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
143 decl << sglr::pdec::Uniform(std::string("u_texScale") + de::toString(ndx), glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl()
144 decl << sglr::pdec::Uniform(std::string("u_texBias") + de::toString(ndx), glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl()
266 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in TextureCubeArrayShader()
267 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in TextureCubeArrayShader()
268 << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT) in TextureCubeArrayShader()
269 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in TextureCubeArrayShader()
270 << sglr::pdec::FragmentOutput(mapDataTypeToGenericVecType(outputType)) in TextureCubeArrayShader()
271 << sglr::pdec::Uniform("u_coordMat", glu::TYPE_FLOAT_MAT3) in TextureCubeArrayShader()
272 << sglr::pdec::Uniform("u_sampler0", samplerType) in TextureCubeArrayShader()
273 << sglr::pdec::Uniform("u_scale", glu::TYPE_FLOAT_VEC4) in TextureCubeArrayShader()
274 << sglr::pdec::Uniform("u_bias", glu::TYPE_FLOAT_VEC4) in TextureCubeArrayShader()
275 << sglr::pdec::Uniform("u_layer", glu::TYPE_INT) in TextureCubeArrayShader()
276 << sglr::pdec::VertexSource( in TextureCubeArrayShader()
291 << sglr::pdec::FragmentSource( in TextureCubeArrayShader()