[NV96] Artifacts in output of fragment program containing not unrolled loops with conditional break
Submitted by Grzegorz Wójcik
Assigned to Nouveau Project
Description
Created attachment 98301 apitrace of simple test program.
Problem appear in shaders containing loops with conditional break when loop is not unrolled by nouveau. I checked emitted code with ST_DEBUG=tgsi NV50_PROG_DEBUG=1. Tested with Mesa 10.2.0-devel (git-475f5ff6) from 2014-04-30. This bug exists for more than year, I first saw it in 2013-02. I think that artifacts appear in areas where is big difference in number of iterations executed for pixel before breaking from loop.
Attachment 98301, "apitrace of simple test program.":
test2.37.trace
Version: git