Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-07 Thread Alejandro Piñeiro
On 07/05/18 14:45, Eero Tamminen wrote: > Hi, > > On 04.05.2018 22:06, Eleni Maria Stea wrote: >> On Fri, 4 May 2018 18:29:55 +0300 >> Eero Tamminen wrote: >> >>> You mean returning CAVEAT_SUPPORT in params for compressed formats >>> which are transparently converted to uncompressed data? >> >>

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-07 Thread Eero Tamminen
Hi, On 04.05.2018 22:06, Eleni Maria Stea wrote: On Fri, 4 May 2018 18:29:55 +0300 Eero Tamminen wrote: You mean returning CAVEAT_SUPPORT in params for compressed formats which are transparently converted to uncompressed data? Well, that would be the best solution I think, if it's possible

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-05 Thread Alejandro Piñeiro
On 04/05/18 21:06, Eleni Maria Stea wrote: > Hi Eero, > > On Fri, 4 May 2018 18:29:55 +0300 > Eero Tamminen wrote: > >> You mean returning CAVEAT_SUPPORT in params for compressed formats >> which are transparently converted to uncompressed data? > Well, that would be the best solution I think, if

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-04 Thread Eleni Maria Stea
Hi Eero, On Fri, 4 May 2018 18:29:55 +0300 Eero Tamminen wrote: > You mean returning CAVEAT_SUPPORT in params for compressed formats > which are transparently converted to uncompressed data? Well, that would be the best solution I think, if it's possible to modify an existing query in the exten

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-04 Thread Eero Tamminen
Hi, On 04.05.2018 14:11, Eleni Maria Stea wrote: Thanks for your feedback, On Thu, 3 May 2018 13:30:38 +0300 Eero Tamminen wrote: On 02.05.2018 20:19, Matt Turner wrote: On Wed, May 2, 2018 at 9:13 AM, Eleni Maria Stea wrote: Gen 7 GPUs store the compressed EAC/ETC2 images in other non-comp

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-04 Thread Eleni Maria Stea
Hi Eero, Thanks for your feedback, On Thu, 3 May 2018 13:30:38 +0300 Eero Tamminen wrote: > Hi, > > On 02.05.2018 20:19, Matt Turner wrote: > > On Wed, May 2, 2018 at 9:13 AM, Eleni Maria Stea > > wrote: > >> Gen 7 GPUs store the compressed EAC/ETC2 images in other > >> non-compressed forma

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-03 Thread Eero Tamminen
Hi, On 02.05.2018 20:19, Matt Turner wrote: On Wed, May 2, 2018 at 9:13 AM, Eleni Maria Stea wrote: Gen 7 GPUs store the compressed EAC/ETC2 images in other non-compressed formats that can render. When GetCompressed* functions are called, the pixels are returned in the non-compressed format th

Re: [Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-02 Thread Matt Turner
On Wed, May 2, 2018 at 9:13 AM, Eleni Maria Stea wrote: > Gen 7 GPUs store the compressed EAC/ETC2 images in other non-compressed > formats that can render. When GetCompressed* functions are called, the > pixels are returned in the non-compressed format that is used for the > rendering. > > With t

[Mesa-dev] [PATCH v3] i965: Fix ETC2/EAC GetCompressed* functions on Gen7 GPUs

2018-05-02 Thread Eleni Maria Stea
Gen 7 GPUs store the compressed EAC/ETC2 images in other non-compressed formats that can render. When GetCompressed* functions are called, the pixels are returned in the non-compressed format that is used for the rendering. With this patch we store both the compressed and non-compressed versions o