r300: avoid searching for temp variable twice
(when once is enough) Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13229>
This commit is contained in:
@@ -858,7 +858,7 @@ static void transform_r300_vertex_SSG(struct radeon_compiler* c,
|
||||
* SLT tmp1, x, 0;
|
||||
* ADD result, tmp0, -tmp1;
|
||||
*/
|
||||
struct rc_dst_register dst0 = try_to_reuse_dst(c, inst);
|
||||
struct rc_dst_register dst0;
|
||||
unsigned tmp1;
|
||||
|
||||
/* 0 < x */
|
||||
|
||||
Reference in New Issue
Block a user