summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pack.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-03 03:26:13 +0000
committerDave Airlie <[email protected]>2017-02-03 19:53:03 +0000
commit106a51440d018031b94c91758eecc7424a3bb5ee (patch)
treef7c5156fc4fa17ccb0fa2afecc430f5bba0d42b7 /src/mesa/main/pack.c
parenta1a8aef4c9dbdf254036adada95f0d6e394c5d6a (diff)
radv: fix shared memory load/stores.
If we have an indirect index here we need to scale it by attribute slots e.g. is this is vec2[256] then we get an indir_index in the 0.255 range but the vec2 are aligned inside vec4 slots. So scale the indir index, then extract the channels. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Cc: "17.0" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/pack.c')
0 files changed, 0 insertions, 0 deletions