|author||Kenneth Graunke <firstname.lastname@example.org>||2015-01-17 01:01:35 -0800|
|committer||Kenneth Graunke <email@example.com>||2015-01-17 14:20:41 -0800|
i965/fs: Fix the dummy fragment shader.
We hit an assertion that the destination of the FB write should not be an immediate. (I don't know what we were thinking.) Use ARF null. Trying to substitute real shaders with the dummy shader would crash when trying to upload non-existent uniforms. Say there are none. It also wouldn't generate any code because we didn't compute the CFG, and code generation now requires it. Compute it. Gen4-5 also require a message header to be present. On Gen6+, there were assertion failures in SF/SBE state because urb_setup was memset to 0 instad of -1, causing it to think there were attributes when nothing was set up right. Set to no attributes. Finally, you have to ensure "Setup URB Entry Read Length" is non-zero or you get GPU hangs, at least on Crestline. It now works on at least Crestline and Haswell. Signed-off-by: Kenneth Graunke <firstname.lastname@example.org>
Diffstat (limited to 'src/mesa/main/extensions.c')
0 files changed, 0 insertions, 0 deletions