diff options
author | Ilia Mirkin <[email protected]> | 2016-10-10 12:06:59 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-10-10 14:28:32 -0400 |
commit | 5239bd59207752a3acae367fc3faa76ab17d01e4 (patch) | |
tree | 02f070a2deb1849ff5ceeaa52a85719f89c1d98f /src/gallium/drivers/nouveau/nvc0 | |
parent | 0a898ec28bf1bd1bd302c881af13a02b557acb07 (diff) |
nvc0/ir: fix overwriting of value backing non-constant gather offset
Normally the value is an immediate, which is moved to some temporary, so
there's no problem. In the case of a non-constant offset (as allowed by
ARB_gpu_shader5), we have to take care to copy it first before using it
to build up the bits.
This fixes a compilation error observed in F1 2015.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
0 files changed, 0 insertions, 0 deletions