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

Kenneth Graunke kenneth at whitecape.org
Mon Apr 11 11:34:26 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 true case.
>
> Fixes glslparsertest/glsl2/logic-01.frag
> ---
>   src/glsl/ast_to_hir.cpp |   12 ++++++------
>   1 files changed, 6 insertions(+), 6 deletions(-)

Solid, minimal change.

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


More information about the mesa-dev mailing list