Lines Matching +defs:wrap +defs:mode
56 * Check if a coordinate wrap mode is supported for the texture target.
60 validate_texture_wrap_mode(struct gl_context * ctx, GLenum target, GLenum wrap)
66 switch (wrap) {
117 _mesa_error( ctx, GL_INVALID_ENUM, "glTexParameter(param=0x%x)", wrap );
622 GLenum mode = params[0];
627 if (mode == GL_WEIGHTED_AVERAGE_EXT || mode == GL_MIN || mode == GL_MAX) {
628 if (texObj->Sampler.Attrib.ReductionMode != mode) {
630 texObj->Sampler.Attrib.ReductionMode = mode;
631 texObj->Sampler.Attrib.state.reduction_mode = reduction_to_gallium(mode);