[Mesa-dev] [PATCH] radeonsi: add support for viewport array (v2)

Dave Airlie airlied at gmail.com
Fri Jun 26 16:15:41 PDT 2015

On 27 June 2015 at 09:03, Marek Olšák <maraeo at gmail.com> wrote:
> If you write VIEWPORT_INDEX at location 0, it overwrites POSITION
> which happens to be at location 0 too and that's why the test fails.
> The fix is not to call si_shader_io_get_unique_index (or its caller
> get_param_index) for LAYER and VIEWPORT_INDEX.
> LAYER and VIEWPORT_INDEX should be ignored in
> si_llvm_emit_es_epilogue, as is required by the spec.

makes sense, sending v3 with that change.


More information about the mesa-dev mailing list