[Mesa-dev] [PATCH] glsl: Make read_from_write_only_variable_visitor ignore .length().

Matt Turner mattst88 at gmail.com
Mon Jan 11 16:18:24 PST 2016


On Mon, Jan 11, 2016 at 4:15 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> .length() on an unsized SSBO variable doesn't actually read any data
> from the SSBO, and is allowed on variables marked 'writeonly'.
>
> Fixes compute shader compilation in Shadow of Mordor.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list