From: Karol Herbst Date: Fri, 14 Aug 2020 21:00:17 +0000 (+0200) Subject: nv50/ir/nir: fix smem size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc667b1f192d33d073832a50b0e920734f9fb8ef;p=mesa.git nv50/ir/nir: fix smem size Signed-off-by: Karol Herbst Part-of: --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 4475d7cf806..b4dbbe1af66 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -1256,7 +1256,7 @@ Converter::parseNIR() info->prop.cp.numThreads[0] = nir->info.cs.local_size[0]; info->prop.cp.numThreads[1] = nir->info.cs.local_size[1]; info->prop.cp.numThreads[2] = nir->info.cs.local_size[2]; - info->bin.smemSize = nir->info.cs.shared_size; + info->bin.smemSize += nir->info.cs.shared_size; break; case Program::TYPE_FRAGMENT: info->prop.fp.earlyFragTests = nir->info.fs.early_fragment_tests;