summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-07-30 20:49:56 -0700
committerPaul Berry <[email protected]>2013-08-01 20:18:42 -0700
commit906eff09e374c75b0486011b73b7048f6070456e (patch)
tree6b11fe03d732cb0aaaa04d09dce1735bea8669c2 /src/glsl/ir.h
parente7ed70a52e2d0efc11d1e9fe19938bc431f947c1 (diff)
glsl: Change do_set_program_inouts' is_fragment_shader arg to shader_type.
This will allow us to add geometry shader support without having to add another boolean argument. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 7ac291cf40e..f5b4468ec20 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -2061,7 +2061,7 @@ ir_has_call(ir_instruction *ir);
extern void
do_set_program_inouts(exec_list *instructions, struct gl_program *prog,
- bool is_fragment_shader);
+ GLenum shader_type);
extern char *
prototype_string(const glsl_type *return_type, const char *name,