• Home
  • Raw
  • Download

Lines Matching refs:fVariable

30     uni.fVariable.setType(type);  in internalAddUniformArray()
31 uni.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in internalAddUniformArray()
42 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray()
43 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
45 uni.fVariable.setPrecision(precision); in internalAddUniformArray()
49 *outName = uni.fVariable.c_str(); in internalAddUniformArray()
68 sampler.fVariable.setType(type); in addSampler()
69 sampler.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addSampler()
70 sampler.fVariable.setPrecision(precision); in addSampler()
71 sampler.fVariable.setName(mangleName); in addSampler()
90 texelBuffer.fVariable.setType(kBufferSampler_GrSLType); in addTexelBuffer()
91 texelBuffer.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addTexelBuffer()
92 texelBuffer.fVariable.setPrecision(precision); in addTexelBuffer()
93 texelBuffer.fVariable.setName(mangleName); in addTexelBuffer()
109 imageStorage.fVariable.setName(mangleName); in addImageStorage()
112 imageStorage.fVariable.setType(type); in addImageStorage()
113 imageStorage.fVariable.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addImageStorage()
114 imageStorage.fVariable.setImageStorageFormat(format); in addImageStorage()
115 imageStorage.fVariable.setMemoryModel(model); in addImageStorage()
116 imageStorage.fVariable.setRestrict(restrict); in addImageStorage()
117 imageStorage.fVariable.setIOType(ioType); in addImageStorage()
118 imageStorage.fVariable.setPrecision(kHigh_GrSLPrecision); in addImageStorage()
127 fUniforms[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
133 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
139 fTexelBuffers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
145 fImageStorages[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
155 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations()
159 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations()
164 fTexelBuffers[i].fVariable.c_str())); in bindUniformLocations()
169 fImageStorages[i].fVariable.c_str())); in bindUniformLocations()
180 GL_CALL_RET(location, GetUniformLocation(programID, fUniforms[i].fVariable.c_str())); in getUniformLocations()
185 GL_CALL_RET(location, GetUniformLocation(programID, fSamplers[i].fVariable.c_str())); in getUniformLocations()
191 fTexelBuffers[i].fVariable.c_str())); in getUniformLocations()
197 fImageStorages[i].fVariable.c_str())); in getUniformLocations()