tgsi: remove unused tgsi_shader_info.uses_doubles

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24100>
This commit is contained in:
Thomas H.P. Andersen
2023-07-11 18:22:28 +02:00
committed by Marge Bot
parent 87d1dde7f9
commit 908441e0ee
2 changed files with 0 additions and 11 deletions
-10
View File
@@ -362,16 +362,6 @@ scan_instruction(struct tgsi_shader_info *info,
break;
}
if ((fullinst->Instruction.Opcode >= TGSI_OPCODE_F2D &&
fullinst->Instruction.Opcode <= TGSI_OPCODE_DSSG) ||
fullinst->Instruction.Opcode == TGSI_OPCODE_DFMA ||
fullinst->Instruction.Opcode == TGSI_OPCODE_DDIV ||
fullinst->Instruction.Opcode == TGSI_OPCODE_D2U64 ||
fullinst->Instruction.Opcode == TGSI_OPCODE_D2I64 ||
fullinst->Instruction.Opcode == TGSI_OPCODE_U642D ||
fullinst->Instruction.Opcode == TGSI_OPCODE_I642D)
info->uses_doubles = true;
for (i = 0; i < fullinst->Instruction.NumSrcRegs; i++) {
scan_src_operand(info, fullinst, &fullinst->Src[i], i,
tgsi_util_get_inst_usage_mask(fullinst, i),
-1
View File
@@ -104,7 +104,6 @@ struct tgsi_shader_info
bool writes_viewport_index;
bool writes_layer;
bool writes_memory; /**< contains stores or atomics to buffers or images */
bool uses_doubles; /**< uses any of the double instructions */
bool uses_derivatives;
bool uses_bindless_samplers;
bool uses_bindless_images;