summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorPierre Moreau <[email protected]>2017-10-02 20:57:09 +0200
committerIlia Mirkin <[email protected]>2017-11-04 14:12:07 -0400
commit49752e99f8f109a1b1adc6740c4e3e2a50d0e09b (patch)
tree221966909252f1a3c43340b488d5f520b8531ba2 /src/gallium
parent898e5555deedad71ecc5c6ce2bb2b05604e2de75 (diff)
nv50/ir: Store shared memory per block in nv50_ir_prog_info
Signed-off-by: Pierre Moreau <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h1
1 files changed, 1 insertions, 0 deletions
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;