summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-03-02 19:02:59 +0100
committerChristoph Bumiller <[email protected]>2011-03-02 20:59:53 +0100
commit223d98bb8d49c9e52e498a12980722467ae2bf87 (patch)
tree0356f1915d3418c83133a2ca43153be9545bd861 /src/gallium/drivers/nv50/nv50_context.h
parentdbdbbce066de9af2856c207f5de8be7f10c74597 (diff)
nv50: fix point sprite state validation
Wasn't updated if the FP didn't change, and coordinate replacement wasn't disabled anymore.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index e6079a621a9..46e6c2250af 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -79,8 +79,10 @@ struct nv50_context {
struct {
uint32_t instance_elts; /* bitmask of per-instance elements */
uint32_t instance_base;
+ uint32_t interpolant_ctrl;
int32_t index_bias;
boolean prim_restart;
+ boolean point_sprite;
uint8_t num_vtxbufs;
uint8_t num_vtxelts;
uint8_t num_textures[3];
@@ -181,6 +183,7 @@ void nv50_fragprog_validate(struct nv50_context *);
void nv50_fp_linkage_validate(struct nv50_context *);
void nv50_gp_linkage_validate(struct nv50_context *);
void nv50_constbufs_validate(struct nv50_context *);
+void nv50_sprite_coords_validate(struct nv50_context *);
/* nv50_state.c */
extern void nv50_init_state_functions(struct nv50_context *);