[Mesa-dev] [PATCH 1/2] r600g: precalculate semantic indices for SPI setup

Alex Deucher alexdeucher at gmail.com
Sat Nov 5 13:17:33 PDT 2011


On Sat, Nov 5, 2011 at 1:10 AM, Vadim Girlin <vadimgirlin at gmail.com> wrote:
> On Fri, 2011-11-04 at 22:53 +0100, Marek Olšák wrote:
>> FYI, this commit completely breaks RV670. glxgears is completely
>> black, other apps are either black or rendered incorrectly (mostly
>> one-colored, the clear color I guess).
>>
>
> Thanks. Probably it's due to missing spi_vs_out_id array initialization
> in the r600_pipe_shader_vs - I forgot this when I was reproducing
> evergreen changes for r600. Unfortunately, I have no r600 hw to test it
> myself. I'll resend fixed patch when I will be completely sure.
>
> I'd be grateful if you could confirm that this change for
> r600_pipe_shader_vs helps (or not):
>
> -       unsigned spi_vs_out_id[10];
> +       unsigned spi_vs_out_id[10] = {};
>

Yup, that fixes it.  Thanks!

Alex

> Vadim
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list