nv50/ir: Store shared memory per block in nv50_ir_prog_info
authorPierre Moreau <pierre.morrow@free.fr>
Mon, 2 Oct 2017 18:57:09 +0000 (20:57 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Nov 2017 18:12:07 +0000 (14:12 -0400)
Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h

index 76f08b1c3dc03722123dd3d24fa7e06d9ca50745..ffd53c9cd38edda781143cff4fd41a0dcae1e250 100644 (file)
@@ -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;