Lines Matching defs:gl
15 namespace gl
106 ASSERT(gl::UniformComponentSize(gl::UniformComponentType(type)) == BytesPerComponent);
112 if (gl::IsMatrixType(type))
119 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
130 const int numComponents = gl::UniformComponentCount(type);
146 else if (gl::IsMatrixType(type))
149 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
154 mCurrentOffset += gl::UniformComponentCount(type);
176 ASSERT(gl::UniformComponentSize(gl::UniformComponentType(type)) == BytesPerComponent);
185 gl::IsMatrixType(type) ||
191 if (gl::IsMatrixType(type))
197 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
207 int numComponents = gl::UniformComponentCount(type);
225 if (gl::IsMatrixType(type))
228 const int numRegisters = gl::MatrixRegisterCount(type, isRowMajorMatrix);
229 const int numComponents = gl::MatrixComponentCount(type, isRowMajorMatrix);
235 mCurrentOffset += gl::UniformComponentCount(type);
248 void HLSLVariableGetRegisterInfo(unsigned int baseRegisterIndex, gl::Uniform *variable, HLSLBlockEncoder *encoder,
249 const std::vector<gl::BlockMemberInfo> &blockInfo, ShShaderOutput outputType)
285 void HLSLVariableGetRegisterInfo(unsigned int baseRegisterIndex, gl::Uniform *variable, ShShaderOutput outputType)