diff options
author | Gert Wollny <[email protected]> | 2018-05-26 18:48:31 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-05-28 02:57:46 +0100 |
commit | 42cd2810aa30dfd825d46a305134fbc8f239247c (patch) | |
tree | 4c239145f80d0bb759cb9adf52bc33332a47fd5d /src/glx/.gitignore | |
parent | 58fb613a51994d111ee77a65bc7f3d60b155c687 (diff) |
r600: Correct IDIV if DST and SRC use the same temporary
In cases like
IDIV TEMP[0].xy TEMP[0].xx TEMP[1].yy
the result will be written to the same register that is also a source register.
Since the components are evaluated one by one, this may result in overwriting
the source value for a later operation. Work around this by adding another
temporary to store the result if the destination temporary index is equal to
one of the source temporary indices.
Fixes:
dEQP-GLES2.functional.shaders.operator.binary_operator.div.*
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/.gitignore')
0 files changed, 0 insertions, 0 deletions