summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-03-28 19:24:45 -0700
committerKenneth Graunke <[email protected]>2012-04-02 14:15:32 -0700
commitac0f8bae8d39ca9f5e873ba8411472e2962890cd (patch)
treeef896e5e6f7fa348aa068fecd5fb07bd238da187 /src/glsl/ir.cpp
parent909e8899671a45bcc865fe303a8cb697a25634aa (diff)
glsl: Combine AST-level and IR-level parameter mode checking loops.
generate_call() and ast_function_expression::hir() both tried to verify that 'out' and 'inout' parameters used l-values. Irritatingly, it turned out that this was not redundant; both checks caught -some- cases. This patch combines the two into a single "complete" function that does all the parameter mode checking. It also adds a comment clarifying why AST-level checking is necessary in the first place. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
0 files changed, 0 insertions, 0 deletions