On 27 June 2015 at 09:03, Marek Olšák <mar...@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.

Dave.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to