summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-09-13 23:10:35 +0200
committerChristoph Bumiller <[email protected]>2011-09-14 16:19:52 +0200
commit3afabfb929cf24a783c10c99bf0d86245e70a94a (patch)
tree73d04e84b157fe0803be054570533034f9e8e00c /src/gallium/drivers/nvc0/nvc0_screen.h
parent57594065c30feec9376be9b2132659f7d87362ee (diff)
nvc0: hook up to new shader code generator
Also includes loading of shared shader library code (used for f64 and integer division) and setting up the immediate array buffer which is appended to the code.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index a3133b28876..6780e32e302 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -34,6 +34,7 @@ struct nvc0_screen {
uint64_t tls_size;
struct nouveau_resource *text_heap;
+ struct nouveau_resource *lib_code; /* allocated from text_heap */
struct {
struct nouveau_bo *bo[NVC0_SCRATCH_NR_BUFFERS];