Home | History | Annotate | Download | only in translator

Lines Matching defs:uniform

165     mInterfaceBlockRegister = 2; // Reserve registers for the default uniform block and driver constants
221 const std::vector<gl::Uniform> &OutputHLSL::getUniforms()
568 const TIntermSymbol &uniform = *uniformIt->second;
569 const TType &type = uniform.getType();
570 const TString &name = uniform.getSymbol();
576 uniforms += "uniform " + samplerString(type) + " sampler_" + decorateUniform(name, type) + arrayString(type) +
579 uniforms += "uniform " + textureString(type) + " texture_" + decorateUniform(name, type) + arrayString(type) +
593 uniforms += "uniform " + typeName + " " + decorateUniform(name, type) + arrayString(type) + " : " + registerString + ";\n";
801 out << "uniform float3 dx_DepthRange : register(c0);";
806 out << "uniform float4 dx_ViewCoords : register(c1);\n";
811 out << "uniform float3 dx_DepthFront : register(c2);\n";
898 out << "uniform float3 dx_DepthRange : register(c0);\n";
901 out << "uniform float4 dx_ViewAdjust : register(c1);\n"
3878 Uniform OutputHLSL::declareUniformToList(const TType &type, const TString &name, int registerIndex, std::vector<gl::Uniform>& output)
3884 gl::Uniform uniform(glVariableType(type), glVariablePrecision(type), name.c_str(),
3886 output.push_back(uniform);
3888 return uniform;
3892 gl::Uniform structUniform(GL_STRUCT_ANGLEX, GL_NONE, name.c_str(), (unsigned int)type.getArraySize(),
3970 const gl::Uniform &uniform = declareUniformToList(type, name, registerIndex, mActiveUniforms);
3974 mSamplerRegister += gl::HLSLVariableRegisterCount(uniform, mOutputType);
3978 mUniformRegister += gl::HLSLVariableRegisterCount(uniform, mOutputType);