Re: [Mesa-dev] [PATCH] ac: do not crash when the buffer data format is invalid

2019-07-29 Thread Bas Nieuwenhuizen
r-b On Mon, Jul 29, 2019 at 12:00 PM Samuel Pitoiset wrote: > > This might happen when a pipeline doesn't define the vertex input > state, so the buffer data format is 0 (aka INVALID). > > This fixes crashes when compiling some shaders on GFX10. > > Signed-off-by: Samuel Pitoiset > --- > src/am

[Mesa-dev] [PATCH] ac: do not crash when the buffer data format is invalid

2019-07-29 Thread Samuel Pitoiset
This might happen when a pipeline doesn't define the vertex input state, so the buffer data format is 0 (aka INVALID). This fixes crashes when compiling some shaders on GFX10. Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_llvm_build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/s