v3d/compiler: remove return_channels from the shader key

This isn't used anywhere.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34742>
This commit is contained in:
Ella Stanforth
2025-04-29 13:32:58 +01:00
committed by Marge Bot
parent b39fc710ee
commit 76e27d2d0d
3 changed files with 0 additions and 15 deletions
-1
View File
@@ -413,7 +413,6 @@ struct v3d_key {
} tex[V3D_MAX_TEXTURE_SAMPLERS];
struct {
uint8_t return_size;
uint8_t return_channels;
} sampler[V3D_MAX_TEXTURE_SAMPLERS];
uint8_t num_tex_used;
-3
View File
@@ -980,9 +980,6 @@ pipeline_populate_v3d_key(struct v3d_key *key,
sampler_idx++) {
key->sampler[sampler_idx].return_size =
sampler_map->return_size[sampler_idx];
key->sampler[sampler_idx].return_channels =
key->sampler[sampler_idx].return_size == 32 ? 4 : 2;
}
switch (p_stage->stage) {