Re: [Mesa-dev] [PATCH] radeonsi: workaround for tesselation on SI

2016-05-08 Thread Marek Olšák
Reviewed-by: Marek Olšák BTW, Matt suggested that instead of declaring a local LDS array, the shader should receive an LDS pointer via function parameters of "main" (or something along those lines). This would avoid the need to specify the array size at compile time. Marek

[Mesa-dev] [PATCH] radeonsi: workaround for tesselation on SI

2016-05-08 Thread Nicolai Hähnle
From: Nicolai Hähnle We request more than 32KB of LDS here, which SI doesn't have. Since LLVM recently started checking the size of declared LDS allocations, all shaders involved in tesselation fail to compile on SI. Note that the entire calculation here seems wrong,