radeonsi: num_records is in units of stride for swizzled buffers even on VI
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 15 Dec 2016 15:11:54 +0000 (16:11 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 12 Jan 2017 10:02:56 +0000 (11:02 +0100)
commite33910b0d977071dc715e8d0927ebb63c0b4647c
treedf1b1e4e143480ef23b936c0ab28c33b1c4b4005
parent883ca597df0debbf27431c218b2acb72986c52e2
radeonsi: num_records is in units of stride for swizzled buffers even on VI

The old setting didn't hurt, but this is cleaner.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c