summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_fence.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2016-03-13 19:38:23 +0100
committerRoland Scheidegger <[email protected]>2016-03-15 19:37:59 +0100
commit4b249ed4cd813fa71e3b4a9457b365cc5dcbc3a1 (patch)
treebee2a3073aeb50f0b0d5026b21421177bba6928e /src/gallium/drivers/softpipe/sp_fence.h
parent9e9d69979c7aff7dac2d670af950f4a50273bcde (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 'src/gallium/drivers/softpipe/sp_fence.h')
0 files changed, 0 insertions, 0 deletions