summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc/subpicture.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-09-22 22:02:32 -0400
committerMarek Olšák <[email protected]>2018-10-16 17:23:25 -0400
commit0b40fbc8796b8e204e7af45b3d39b67d20fb3da7 (patch)
treee53e6f95f9a4b86339d14c1ce2ea07b355d94d00 /src/gallium/state_trackers/xvmc/subpicture.c
parentbfc795670ec82af5767cf360806e32322664604e (diff)
radeonsi: use faster integer division for instance divisors
We know the divisors when we upload them, so instead we can precompute and upload division factors derived from each divisor. This fast division consists of add, mul_hi, and two shifts, and we have to load 4 dwords intead of 1. This probably won't affect any apps.
Diffstat (limited to 'src/gallium/state_trackers/xvmc/subpicture.c')
0 files changed, 0 insertions, 0 deletions