Home
last modified time | relevance | path

Searched refs:MAX_COMBINED_TEXTURE_IMAGE_UNITS (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/main/
Dconfig.h231 #define MAX_COMBINED_TEXTURE_IMAGE_UNITS (MAX_VERTEX_TEXTURE_IMAGE_UNITS + \ macro
Dcontext.c626 ctx->Const.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; in _mesa_init_constants()
695 assert(MAX_COMBINED_TEXTURE_IMAGE_UNITS <= 8 * sizeof(GLbitfield)); in check_context_limits()
717 assert(ctx->Const.MaxCombinedTextureImageUnits <= MAX_COMBINED_TEXTURE_IMAGE_UNITS); in check_context_limits()
718 assert(ctx->Const.MaxTextureCoordUnits <= MAX_COMBINED_TEXTURE_IMAGE_UNITS); in check_context_limits()
Duniform_query.cpp1043 const glsl_type *unit_types[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; in _mesa_sampler_uniforms_are_valid()
Dtexstate.c812 >= MAX_COMBINED_TEXTURE_IMAGE_UNITS + 1); in _mesa_init_texture()
Dmtypes.h1438 struct gl_texture_unit Unit[MAX_COMBINED_TEXTURE_IMAGE_UNITS];
1943 GLbitfield TexturesUsed[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; /**< TEXTURE_x_BIT bitmask */
/external/swiftshader/src/OpenGL/libGL/
DProgram.cpp240 if(logicalTextureUnit < MAX_COMBINED_TEXTURE_IMAGE_UNITS) in getSamplerMapping()
2214 TextureType textureUnitType[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; in validateSamplers()
2216 for(unsigned int i = 0; i < MAX_COMBINED_TEXTURE_IMAGE_UNITS; i++) in validateSamplers()
2227 if(unit >= MAX_COMBINED_TEXTURE_IMAGE_UNITS) in validateSamplers()
2231 …iform (%d) exceeds MAX_COMBINED_TEXTURE_IMAGE_UNITS (%d)", unit, MAX_COMBINED_TEXTURE_IMAGE_UNITS); in validateSamplers()
2262 if(unit >= MAX_COMBINED_TEXTURE_IMAGE_UNITS) in validateSamplers()
2266 …iform (%d) exceeds MAX_COMBINED_TEXTURE_IMAGE_UNITS (%d)", unit, MAX_COMBINED_TEXTURE_IMAGE_UNITS); in validateSamplers()
DShader.cpp171 resources.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; in createCompiler()
DContext.h321 MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS + MAX_VERTEX_TEXTURE_IMAGE_UNITS, enumerator
497 BindingPointer<Texture> samplerTexture[TEXTURE_TYPE_COUNT][MAX_COMBINED_TEXTURE_IMAGE_UNITS];
DContext.cpp233 for(int sampler = 0; sampler < MAX_COMBINED_TEXTURE_IMAGE_UNITS; sampler++) in ~Context()
1287 case GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: *params = MAX_COMBINED_TEXTURE_IMAGE_UNITS; break; in getIntegerv()
1453 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
1464 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
2658 for(int sampler = 0; sampler < MAX_COMBINED_TEXTURE_IMAGE_UNITS; sampler++) in detachTexture()
DlibGL.cpp142 if(texture < GL_TEXTURE0 || texture > GL_TEXTURE0 + gl::MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in glActiveTexture()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.h83 MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS + MAX_VERTEX_TEXTURE_IMAGE_UNITS, enumerator
410 gl::BindingPointer<Sampler> sampler[MAX_COMBINED_TEXTURE_IMAGE_UNITS];
413 gl::BindingPointer<Texture> samplerTexture[TEXTURE_TYPE_COUNT][MAX_COMBINED_TEXTURE_IMAGE_UNITS];
DContext.cpp223 for(int sampler = 0; sampler < MAX_COMBINED_TEXTURE_IMAGE_UNITS; sampler++) in ~Context()
247 for(int i = 0; i < MAX_COMBINED_TEXTURE_IMAGE_UNITS; ++i) in ~Context()
1851 case GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: *params = MAX_COMBINED_TEXTURE_IMAGE_UNITS; break; in getIntegerv()
2024 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
2033 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
2042 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
2051 if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
2064 else if(mState.activeSampler > MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in getIntegerv()
3717 for(int sampler = 0; sampler < MAX_COMBINED_TEXTURE_IMAGE_UNITS; sampler++) in detachTexture()
3798 for(size_t textureUnit = 0; textureUnit < MAX_COMBINED_TEXTURE_IMAGE_UNITS; ++textureUnit) in detachSampler()
DProgram.cpp322 if(logicalTextureUnit < MAX_COMBINED_TEXTURE_IMAGE_UNITS) in getSamplerMapping()
2876 TextureType textureUnitType[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; in validateSamplers()
2878 for(unsigned int i = 0; i < MAX_COMBINED_TEXTURE_IMAGE_UNITS; i++) in validateSamplers()
2889 if(unit >= MAX_COMBINED_TEXTURE_IMAGE_UNITS) in validateSamplers()
2893 …iform (%d) exceeds MAX_COMBINED_TEXTURE_IMAGE_UNITS (%d)", unit, MAX_COMBINED_TEXTURE_IMAGE_UNITS); in validateSamplers()
2924 if(unit >= MAX_COMBINED_TEXTURE_IMAGE_UNITS) in validateSamplers()
2928 …iform (%d) exceeds MAX_COMBINED_TEXTURE_IMAGE_UNITS (%d)", unit, MAX_COMBINED_TEXTURE_IMAGE_UNITS); in validateSamplers()
DShader.cpp171 resources.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; in createCompiler()
DlibGLESv2.cpp127 if(texture < GL_TEXTURE0 || texture > GL_TEXTURE0 + es2::MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1) in ActiveTexture()
3078 case GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: *params = es2::MAX_COMBINED_TEXTURE_IMAGE_UNITS; return; in GetIntegerv()
DlibGLESv3.cpp3412 if(unit >= es2::MAX_COMBINED_TEXTURE_IMAGE_UNITS) in glBindSampler()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c104 MAX_COMBINED_TEXTURE_IMAGE_UNITS); in st_init_limits()