aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-21 13:11:32 -0800
committerEric Anholt <[email protected]>2012-12-28 10:53:36 -0800
commitd5efc14635cf25bc130bfa77737913913d9202ce (patch)
treef7d3d7aae382a93cdb8c2f6da2d1ab3ccff70ed5 /src/mesa/drivers/dri/i965/brw_vec4.h
parentffdfafb06cf3ae468ceb3e504365016347f54bee (diff)
i965: Add asserts to check that we don't realloc ParameterValues.
Things are even more restrictive than they used to be, so I've made mistakes in this area. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index 359a5aed041..6aab4c0ffde 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -227,6 +227,7 @@ public:
const struct gl_vertex_program *vp;
struct brw_vs_compile *c;
struct brw_vs_prog_data *prog_data;
+ unsigned int sanity_param_count;
char *fail_msg;
bool failed;