Re: [Mesa-dev] [PATCH 01/10] tgsi: add Texture and Format to tgsi_instruction_memory

2016-03-20 Thread Ilia Mirkin
On Sun, Mar 20, 2016 at 5:59 PM, Hans de Goede wrote: > Hi Ilia > > On 20-03-16 21:17, Ilia Mirkin wrote: >> >> Hi Nicolai, >> >> Looks like this results in uninitialized formats when parsing text, so >> a shader which looks like this: > > > I already have a fix for this ready: > > https://cgit.fr

Re: [Mesa-dev] [PATCH 01/10] tgsi: add Texture and Format to tgsi_instruction_memory

2016-03-20 Thread Hans de Goede
Hi Ilia On 20-03-16 21:17, Ilia Mirkin wrote: Hi Nicolai, Looks like this results in uninitialized formats when parsing text, so a shader which looks like this: I already have a fix for this ready: https://cgit.freedesktop.org/~jwrdegoede/mesa/commit/?id=e0e4b87dcc990fa829ca88ca4ff82881c7585

Re: [Mesa-dev] [PATCH 01/10] tgsi: add Texture and Format to tgsi_instruction_memory

2016-03-20 Thread Ilia Mirkin
Hi Nicolai, Looks like this results in uninitialized formats when parsing text, so a shader which looks like this: COMP DCL SV[0], BLOCK_ID DCL SV[1], GRID_SIZE DCL SAMP[0] DCL SAMP[1] DCL SAMP[2] DCL SAMP[3] DCL SAMP[4] DCL SAMP[5] DCL SAMP[6] DCL SAMP[7] DCL BUFFER[16] DCL BUFFER[17] DCL CONST[

[Mesa-dev] [PATCH 01/10] tgsi: add Texture and Format to tgsi_instruction_memory

2016-03-13 Thread Nicolai Hähnle
From: Nicolai Hähnle Frontends should have this information readily available, and it simplifies image LOAD/STORE/ATOM* handling especially with indirect image access. --- src/gallium/auxiliary/tgsi/tgsi_dump.c | 8 src/gallium/include/pipe/p_shader_tokens.h | 4 +++- 2 files change