mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
v3d: Drop shadow comparison state from shader variant key.
The shadow state is now in the sampler.
This commit is contained in:
parent
0e2758daad
commit
d80761b8f3
2 changed files with 0 additions and 4 deletions
|
|
@ -313,8 +313,6 @@ struct v3d_key {
|
|||
uint8_t swizzle[4];
|
||||
uint8_t return_size;
|
||||
uint8_t return_channels;
|
||||
unsigned compare_mode:1;
|
||||
unsigned compare_func:3;
|
||||
bool clamp_s:1;
|
||||
bool clamp_t:1;
|
||||
bool clamp_r:1;
|
||||
|
|
|
|||
|
|
@ -386,8 +386,6 @@ v3d_setup_shared_key(struct v3d_context *v3d, struct v3d_key *key,
|
|||
}
|
||||
|
||||
if (sampler) {
|
||||
key->tex[i].compare_mode = sampler_state->compare_mode;
|
||||
key->tex[i].compare_func = sampler_state->compare_func;
|
||||
key->tex[i].clamp_s =
|
||||
sampler_state->wrap_s == PIPE_TEX_WRAP_CLAMP;
|
||||
key->tex[i].clamp_t =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue