summaryrefslogtreecommitdiff
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-08-02 15:44:39 -0700
committerPaul Berry <stereotype441@gmail.com>2011-08-15 17:23:02 -0700
commit303e05cc249df3baeb3ed7654b0de00e7b9358fc (patch)
treef6d42d7f7f60b986c4d4004bef15b8681e42a204 /src/glsl/ast_to_hir.cpp
parenta52b53b56e2b5d5853345d8bcd2a4ff50e495c20 (diff)
glsl: Add validations for ir_call.
This patch extends ir_validate.cpp to check the following characteristics of each ir_call: - The number of actual parameters must match the number of formal parameters in the signature. - The type of each actual parameter must match the type of the corresponding formal parameter in the signature. - Each "out" or "inout" actual parameter must be an lvalue. Reviewed-by: Chad Versace <chad@chad-versace.us>
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions