On Mon, Jun 6, 2016 at 5:12 PM, Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> wrote: > On Mon, Jun 6, 2016 at 4:21 PM, Nicolai Hähnle <nhaeh...@gmail.com> wrote: >> On 06.06.2016 16:16, Nicolai Hähnle wrote: >>> >>> Patches 1 & 2: >>> >>> Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com> >> >> >> Hold off on patch #2 - how does this work together with shader image writes? >> Then we're in an ugly situation where the other process could write to DCC, >> but we still need to decompress while the texture is bound as a shader >> image? That doesn't sound good to me... > > Does this ever happen anyway? If we have an external writer and this > process writes (due to binding it for image write) then at least one > process did an export with write usage which should disable DCC. So I > don't think we can ever get in this situation.
While I agree with you, let's be safe than sorry and so v2 does a decompression pass. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev