summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-12 12:39:35 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:17 +1000
commitaea1669ff221f97682f0be6a60632e40c2739d09 (patch)
tree10f5c2b2ca1e75eb0f62a6562a96d8aedd5f08c7 /src/gallium/drivers/nv50/nv50_program.h
parent1c7489bd7e5391136d0f2e68b467de89eb2d2bfc (diff)
nv50: use constbuf segment 0 for everything - I can't make the others work..
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h
index 6dafe56fbb6..d143ae97979 100644
--- a/src/gallium/drivers/nv50/nv50_program.h
+++ b/src/gallium/drivers/nv50/nv50_program.h
@@ -4,12 +4,6 @@
#include "pipe/p_state.h"
#include "tgsi/util/tgsi_scan.h"
-struct nv50_program_data {
- int index;
- int component;
- float value;
-};
-
struct nv50_program_exec {
struct nv50_program_exec *next;
@@ -30,15 +24,14 @@ struct nv50_program {
struct nv50_program_exec *exec_head;
struct nv50_program_exec *exec_tail;
unsigned exec_size;
- struct nv50_program_data *data;
- struct nouveau_resource *data_res;
- unsigned data_nr;
+ struct nouveau_resource *data;
unsigned data_start;
struct pipe_buffer *buffer;
float *immd;
unsigned immd_nr;
+ unsigned param_nr;
struct {
unsigned high_temp;