radv/ac: correctly size shared memory usage.
authorDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2017 01:46:24 +0000 (01:46 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2017 19:52:13 +0000 (19:52 +0000)
commita1a8aef4c9dbdf254036adada95f0d6e394c5d6a
tree27b5f99d576822b41796e612501af0d35ab58517
parent66463b7f7540ed3d21ca6ae7c729fbb671453188
radv/ac: correctly size shared memory usage.

We count the number of slots used, but slots are vec4 sized,
so we have to scale by 16 not 4.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c