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

Vadim Girlin vadimgirlin at gmail.com
Fri Nov 4 22:10:20 PDT 2011


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] = {};

Vadim




More information about the mesa-dev mailing list