mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state.  glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
This commit is contained in:
Brian Paul
2011-04-10 12:44:46 -06:00
parent 1cbd3a1cc7
commit ecfaab88b2
51 changed files with 623 additions and 550 deletions

View File

@@ -582,7 +582,7 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[],
value[0] =
value[1] =
value[2] =
value[3] = texObj->CompareFailValue;
value[3] = texObj->Sampler.CompareFailValue;
}
}
return;