diff options
author | Roland Scheidegger <[email protected]> | 2016-03-13 19:38:23 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-03-15 19:37:59 +0100 |
commit | 4b249ed4cd813fa71e3b4a9457b365cc5dcbc3a1 (patch) | |
tree | bee2a3073aeb50f0b0d5026b21421177bba6928e /Makefile.am | |
parent | 9e9d69979c7aff7dac2d670af950f4a50273bcde (diff) |
softpipe: fix misleading TGSI_QUAD_SIZE usage
All these img filter loops iterate through NUM_CHANNELS, not QUAD_SIZE.
In practice both are of course the same unchangeable value (4), but it
makes the code look a bit confusing. Moreover, some of the functions were
actually given an array of 4 values according to the declaration, yet the
code was addressing values 0/4/8/12 out of it, so fix this by just saying
it's a pointer to floats like the other functions.
While here, also add comment about not quite correct filtering.
There's no actual code difference.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions