diff options
author | Gert Wollny <[email protected]> | 2018-01-14 18:13:31 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-15 09:14:22 +1000 |
commit | 5d6470d26b267d522dd343740878bde46f21c446 (patch) | |
tree | 6377eed9c637ab6a1e37d108326efed7da6ea674 /scripts | |
parent | f10bd0a0e1f7cba65a4b462016d3869351b20106 (diff) |
r600/shader: Initialize max_driver_temp_used correctly for the first time
Without this initialization the temp registers used in tgsi_declaration
may used random indices, and this may result in failing translation from TGSI
with an error message "GPR limit exceeded", because the random index is greater
then the allowed limit implying that the shader uses more temporary registers then
available.
Signed-off-by: Gert Wollny <[email protected]>
Cc: <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions