From: Pierre Moreau Date: Mon, 2 Oct 2017 18:57:09 +0000 (+0200) Subject: nv50/ir: Store shared memory per block in nv50_ir_prog_info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49752e99f8f109a1b1adc6740c4e3e2a50d0e09b;p=mesa.git nv50/ir: Store shared memory per block in nv50_ir_prog_info Signed-off-by: Pierre Moreau --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h index 76f08b1c3dc..ffd53c9cd38 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h @@ -87,6 +87,7 @@ struct nv50_ir_prog_info int16_t maxGPR; /* may be -1 if none used */ int16_t maxOutput; uint32_t tlsSpace; /* required local memory per thread */ + uint32_t smemSize; /* required shared memory per block */ uint32_t *code; uint32_t codeSize; uint32_t instructions;