diff options
author | Eric Anholt <[email protected]> | 2012-11-20 19:18:45 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-12-28 10:53:48 -0800 |
commit | aa6e35e80dddfe1011e845da6325d276263e2242 (patch) | |
tree | 18b01de8aafd7d6660b4cb937127ea7b10b2b358 /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | c0d1f508d6d471cf44329f43d8a79230ed8db0b6 (diff) |
i965/vs: Reference the core GL uniform storage for non-builtin uniforms.
Like in the FS, there's no reason to use an external copy if the
ParameterValues[] relayout of it isn't the layout we need.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 6aab4c0ffde..e65b92caa7b 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -314,7 +314,7 @@ public: int virtual_grf_alloc(int size); void setup_uniform_clipplane_values(); - int setup_uniform_values(int loc, const glsl_type *type); + void setup_uniform_values(ir_variable *ir); void setup_builtin_uniform_values(ir_variable *ir); int setup_attributes(int payload_reg); int setup_uniforms(int payload_reg); |