From 1f18b6f351f159ecd7703cc818941394990bafe9 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Fri, 23 Sep 2016 22:24:42 +0200 Subject: [PATCH] st/nine: No need for the local flag for temporaries in ff Signed-off-by: Axel Davy Reviewed-by: Patrick Rudolph --- src/gallium/state_trackers/nine/nine_ff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c index 18d00a710ea..56876f00255 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/state_trackers/nine/nine_ff.c @@ -430,7 +430,7 @@ nine_ff_build_vs(struct NineDevice9 *device, struct vs_build_ctx *vs) /* Declare TEMPs: */ for (i = 0; i < num_r; ++i) - r[i] = ureg_DECL_local_temporary(ureg); + r[i] = ureg_DECL_temporary(ureg); tmp = r[0]; tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); tmp_y = ureg_writemask(tmp, TGSI_WRITEMASK_Y); @@ -1237,7 +1237,7 @@ nine_ff_build_ps(struct NineDevice9 *device, struct nine_ff_ps_key *key) /* Declare all TEMPs we might need, serious drivers have a register allocator. */ for (i = 0; i < ARRAY_SIZE(ps.r); ++i) - ps.r[i] = ureg_DECL_local_temporary(ureg); + ps.r[i] = ureg_DECL_temporary(ureg); ps.rCur = ps.r[0]; ps.rTmp = ps.r[1]; ps.rTex = ps.r[2]; -- 2.30.2