mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
gallium/tgsi: remove is_msaa_sampler array from tgsi_shader_info
Seems to have not been used since 16be87c904
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
9f7c940840
commit
1a757c9c97
2 changed files with 0 additions and 7 deletions
|
|
@ -267,7 +267,6 @@ scan_src_operand(struct tgsi_shader_info *info,
|
|||
const unsigned index = src->Register.Index;
|
||||
|
||||
assert(fullinst->Instruction.Texture);
|
||||
assert(index < ARRAY_SIZE(info->is_msaa_sampler));
|
||||
assert(index < PIPE_MAX_SAMPLERS);
|
||||
|
||||
if (is_texture_inst(fullinst->Instruction.Opcode)) {
|
||||
|
|
@ -286,11 +285,6 @@ scan_src_operand(struct tgsi_shader_info *info,
|
|||
*/
|
||||
assert(info->sampler_targets[index] == target);
|
||||
}
|
||||
/* MSAA samplers */
|
||||
if (target == TGSI_TEXTURE_2D_MSAA ||
|
||||
target == TGSI_TEXTURE_2D_ARRAY_MSAA) {
|
||||
info->is_msaa_sampler[src->Register.Index] = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,6 @@ struct tgsi_shader_info
|
|||
boolean writes_viewport_index;
|
||||
boolean writes_layer;
|
||||
boolean writes_memory; /**< contains stores or atomics to buffers or images */
|
||||
boolean is_msaa_sampler[PIPE_MAX_SAMPLERS];
|
||||
boolean uses_doubles; /**< uses any of the double instructions */
|
||||
boolean uses_derivatives;
|
||||
boolean uses_bindless_samplers;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue