[Mesa-dev] [PATCH 3/6] glsl: Semantically check the RHS of `||' even when short-circuiting.

Kenneth Graunke kenneth at whitecape.org
Mon Apr 11 11:34:54 PDT 2011


On 04/09/2011 10:17 PM, Eric Anholt wrote:
> We just do the AST-to-HIR processing, and only push the instructions
> if needed in the constant false case.
>
> Fixes glslparsertest/glsl2/logic-02.frag
> ---
>   src/glsl/ast_to_hir.cpp |   11 +++++------
>   1 files changed, 5 insertions(+), 6 deletions(-)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list