summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_state.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-12 00:48:26 +0200
committerPatrice Mandin <[email protected]>2008-07-12 00:48:26 +0200
commit58737dc87575625438d288fe2f816b6a9d2086f1 (patch)
treee4b89db836a2712be232dac764e9e4a0b1f50b0f /src/gallium/drivers/nv30/nv30_state.h
parent2419a5fe3601851989506a11b0bd4e3cfb071035 (diff)
nv30: Emit fragment program using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.h b/src/gallium/drivers/nv30/nv30_state.h
index a897bc50687..20c51761607 100644
--- a/src/gallium/drivers/nv30/nv30_state.h
+++ b/src/gallium/drivers/nv30/nv30_state.h
@@ -2,6 +2,7 @@
#define __NV30_STATE_H__
#include "pipe/p_state.h"
+#include "tgsi/util/tgsi_scan.h"
struct nv30_sampler_state {
uint32_t fmt;
@@ -50,6 +51,7 @@ struct nv30_fragment_program_data {
struct nv30_fragment_program {
struct pipe_shader_state pipe;
+ struct tgsi_shader_info info;
boolean translated;
boolean on_hw;
@@ -65,6 +67,7 @@ struct nv30_fragment_program {
uint32_t fp_control;
uint32_t fp_reg_control;
+ struct nouveau_stateobj *so;
};
struct nv30_miptree {