Re: [Mesa-dev] [PATCH] radeonsi/gfx9: fix VM fault with fetched instance divisors

2017-11-17 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Nov 15, 2017 at 11:23 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > We need to account for SGPR locations in merged shaders. > > This case is exercised by KHR-GL45.enhanced_layouts.vertex_attrib_locations > > Fixes: 79c2e7388c7f ("radeonsi/gfx9: us

[Mesa-dev] [PATCH] radeonsi/gfx9: fix VM fault with fetched instance divisors

2017-11-15 Thread Nicolai Hähnle
From: Nicolai Hähnle We need to account for SGPR locations in merged shaders. This case is exercised by KHR-GL45.enhanced_layouts.vertex_attrib_locations Fixes: 79c2e7388c7f ("radeonsi/gfx9: use SPI_SHADER_USER_DATA_COMMON") --- src/gallium/drivers/radeonsi/si_shader.c | 13 +++-- src/