diff options
author | Rhys Kidd <[email protected]> | 2016-03-15 23:00:28 -0400 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-04-08 18:28:43 -0700 |
commit | 40e77741cf1e9a74b867c7d132ca2346fe1584e4 (patch) | |
tree | 87108275b7d5d2a124b91b52a2270ff7fc1caaf6 /src/gallium/drivers/llvmpipe | |
parent | 2450b219e5706c86d0539b38f5f579bff148e9ef (diff) |
vc4: Emit a warning and proceed for handling loops in NIR.
We don't really suppor control flow yet, but it's a lot nicer to render
something and warn on stderr than to crash.
Fixes the following piglit tests:
- shaders/complex-loop-analysis-bug
- shaders/glsl-fs-discard-04
Converts the following piglit tests from crash to fail:
- shaders/glsl-fs-continue-inside-do-while
- shaders/glsl-fs-loop
- shaders/glsl-fs-loop-continue
- shaders/glsl-fs-loop-nested
- shaders/glsl-texcoord-array
- shaders/glsl-vs-continue-inside-do-while
- shaders/glsl-vs-loop
- shaders/glsl-vs-loop-continue
- shaders/glsl-vs-loop-nested
No piglit regressions.
v2 (Eric): Add stronger stderr warning.
Signed-off-by: Rhys Kidd <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions