summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-03-03 12:25:12 +0100
committerChristoph Bumiller <[email protected]>2011-03-03 12:32:40 +0100
commit7048ad62f89289c9e642203c009dca38ce8753f8 (patch)
tree4222749c13b89194fb8376e975bc890f79448f11 /src/gallium/drivers/nv50/nv50_screen.h
parent6b4e3e8941f41b6d15ac557e3d47bf4f1aa8b185 (diff)
nv50: increase size of shader code bo
512 KiB should be quite enough, but dynamic resize might be nicer.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.h b/src/gallium/drivers/nv50/nv50_screen.h
index 3886d8068cc..aea434b8679 100644
--- a/src/gallium/drivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -14,6 +14,8 @@
struct nv50_context;
+#define NV50_CODE_BO_SIZE_LOG2 19
+
#define NV50_SCRATCH_SIZE (2 << 20)
#define NV50_SCRATCH_NR_BUFFERS 2