Re: [Mesa-dev] [PATCH 1/1] radeon: Don't check DCC on pipe buffers

2016-09-13 Thread Marek Olšák
On Tue, Sep 13, 2016 at 11:31 AM, Nicolai Hähnle wrote: > What's the path via which r600_create_surface_custom is called with a buffer > instead of a texture? r600g only supports shader-writable buffers via the CB block. It internally creates a surface for a buffer and

Re: [Mesa-dev] [PATCH 1/1] radeon: Don't check DCC on pipe buffers

2016-09-13 Thread Nicolai Hähnle
What's the path via which r600_create_surface_custom is called with a buffer instead of a texture? If that happens, the assignment of surface->level_info is also incorrect... Cheers, Nicolai On 13.09.2016 03:23, Jan Vesely wrote: Fixes segfaults in EG compute since: commit

Re: [Mesa-dev] [PATCH 1/1] radeon: Don't check DCC on pipe buffers

2016-09-13 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Sep 13, 2016 at 3:23 AM, Jan Vesely wrote: > Fixes segfaults in EG compute since: > commit 21de3be8e62b2b093569a99550e6356ed2f106b4 > radeonsi: fix texture format reinterpretation with DCC > > Signed-off-by:

[Mesa-dev] [PATCH 1/1] radeon: Don't check DCC on pipe buffers

2016-09-12 Thread Jan Vesely
Fixes segfaults in EG compute since: commit 21de3be8e62b2b093569a99550e6356ed2f106b4 radeonsi: fix texture format reinterpretation with DCC Signed-off-by: Jan Vesely --- src/gallium/drivers/radeon/r600_texture.c | 7 --- 1 file changed, 4 insertions(+), 3