Re: [Mesa-dev] [PATCH] glsl_to_tgsi: plumb image writable through to driver

2018-08-07 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Aug 6, 2018 at 2:48 PM, Erik Faye-Lund wrote: > The virgl driver cares about the writable-flag on image definitions, > because it re-emits GLSL from the TGSI. However, so far it was hardcoded > to true in glsl_to_tgsi, which cause problems when

[Mesa-dev] [PATCH] glsl_to_tgsi: plumb image writable through to driver

2018-08-06 Thread Erik Faye-Lund
The virgl driver cares about the writable-flag on image definitions, because it re-emits GLSL from the TGSI. However, so far it was hardcoded to true in glsl_to_tgsi, which cause problems when virglrenderer is running on top of GLES 3.1, where not all formats are supported for writable images.