diff options
author | Samuel Pitoiset <[email protected]> | 2016-03-22 18:00:09 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-04-26 19:47:49 +0200 |
commit | c6b3c346d15b834d17c97aa4a45714c18f219351 (patch) | |
tree | d9f4a4d9bc14f46e1fc1e3d93b8f7e15b0f3a27f /src/gallium/drivers/nouveau/nvc0/nve4_compute.c | |
parent | afa04785fade4ed032a621db13e0a03505afa7ee (diff) |
nvc0: reserve an area for surfaces info in the driver constbuf
To process surfaces coordinates from the codegen part, and because
some information like the format is not always available (eg. when
writeonly is used), we have to stick some surfaces data in the
driver constbuf. This is especially true for OpenCL because we don't
know the format at shader compile time.
This bumps the size of each shader area from 1K to 2K.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nve4_compute.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nve4_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c index 3d5f84d71c8..441166ac418 100644 --- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c +++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c @@ -543,7 +543,7 @@ nve4_compute_setup_launch_desc(struct nvc0_context *nvc0, NVC0_CB_USR_INFO(5), 1 << 16); } nve4_cp_launch_desc_set_cb(desc, 7, screen->uniform_bo, - NVC0_CB_AUX_INFO(5), 1 << 10); + NVC0_CB_AUX_INFO(5), 1 << 11); } static inline struct nve4_cp_launch_desc * |