mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r300: normal instruction can't have presubtract op
Only fs have presubtract ops and by the time we gather the stats, all normal instructions were converted to pair ones. Reviewed-by: Filip Gawin <filip.gawin@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24152>
This commit is contained in:
parent
c577655f8c
commit
c86e1b97a3
1 changed files with 0 additions and 2 deletions
|
|
@ -366,8 +366,6 @@ void rc_get_stats(struct radeon_compiler *c, struct rc_program_stats *s)
|
|||
info = rc_get_opcode_info(tmp->U.I.Opcode);
|
||||
if (info->Opcode == RC_OPCODE_BEGIN_TEX)
|
||||
continue;
|
||||
if (tmp->U.I.PreSub.Opcode != RC_PRESUB_NONE)
|
||||
s->num_presub_ops++;
|
||||
} else {
|
||||
if (tmp->U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Used)
|
||||
s->num_presub_ops++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue