nv50/ir: Store shared memory per block in nv50_ir_prog_info

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
Pierre Moreau
2017-10-02 20:57:09 +02:00
committed by Ilia Mirkin
parent 898e5555de
commit 49752e99f8

View 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;