diff options
author | Rob Clark <[email protected]> | 2013-08-20 13:54:01 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-08-24 13:23:32 -0400 |
commit | 2effac5a67d8ed91802f96d2c59c0a5e1574e3f6 (patch) | |
tree | c81296135e1accbfff63c1761daf59ffe2c7aab0 /src/gallium/drivers/freedreno/freedreno_surface.c | |
parent | aee1ed708ac5fa4a5db47dc84be4aae00af9d0f0 (diff) |
freedreno/a3xx/compiler: use max_reg rather than file_count
Our current (rather naive) register assignment is based on mapping
different register files (INPUT, OUTPUT, TEMP, CONST, etc) based on the
max register index of the preceding file. But in some cases, the lowest
used register in a file might not be zero. In which case
file_count[file] != file_max[file] + 1.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_surface.c')
0 files changed, 0 insertions, 0 deletions