diff options
author | Axel Davy <[email protected]> | 2016-09-23 22:24:42 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-10 23:43:50 +0200 |
commit | 1f18b6f351f159ecd7703cc818941394990bafe9 (patch) | |
tree | 47f0b6bc256ac063cbfde5fc02c7ead1903d0d25 /src/gallium/state_trackers | |
parent | eb9ad8f9691baa4566a0763a70946662ad79b977 (diff) |
st/nine: No need for the local flag for temporaries in ff
Signed-off-by: Axel Davy <[email protected]>
Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_ff.c | 4 |
1 files 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]; |