st/pbo_compute: use different calc for non-3d compute buffer sizing
this avoids looking at irrelevant 3d pixelstore params like GL_PACK_IMAGE_HEIGHT when they don't apply, which will cause the storage buffer to be incorrectly sized and break the operation Fixes: e7b95619 ("gallium: implement compute pbo download") Reviewed-by:Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!16728> (cherry picked from commit 70fb3a47)
Loading
Please register or sign in to comment