Skip to content
Snippets Groups Projects
Commit aad12d15 authored by Ian Romanick's avatar Ian Romanick
Browse files

glsl: When lowering non-constant array indexing, respect existing conditions


If the non-constant index was in the LHS of an assignment, any
existing condititon on that assignment would be lost.

Fixes i965 piglit:

    fs-temp-array-mat[234]-col-row-wr
    fs-temp-array-mat[234]-index-col-row-wr
    fs-temp-array-mat[234]-index-col-wr
    fs-temp-array-mat[234]-index-row-wr
    vs-varying-array-mat[234]-index-col-wr

Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit 5f83dfe5)
parent 977db7cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment