radeonsi: fix issues with monolithic shaders
authorMarek Olšák <marek.olsak@amd.com>
Sat, 18 Feb 2017 16:08:34 +0000 (17:08 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 21 Feb 2017 20:27:23 +0000 (21:27 +0100)
commit63c462226ef2bda691b28837e143853fcbcfd0a5
treebfb4188185c8ec53fc89a01c6cbe7582f465a421
parent52581606c2e9a5c8f755b9f3fd0d4fd57869ed7d
radeonsi: fix issues with monolithic shaders

R600_DEBUG=mono has had no effect since:

    commit 1fabb297177069e95ec1bb7053acb32f8ec3e092
    Author: Marek Olšák <marek.olsak@amd.com>
    Date:   Tue Feb 14 22:08:32 2017 +0100

    radeonsi: have separate LS and ES main shader parts in the shader selector

Also, this assertion was failing:
    si_state_shaders.c:1307: si_shader_select_with_key: Assertion
    `!shader->is_optimized' failed.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c