Forums - Artefacts when using texelFetch and textureGrad on Adreno 610 and 618

1 post / 0 new
Artefacts when using texelFetch and textureGrad on Adreno 610 and 618
gsterbrant
Join Date: 4 Jul 23
Posts: 1
Posted: Tue, 2023-07-04 05:36

Hello! 
I'm Gustav and I work for the PlayCanvas team at Snap Inc. We have been debugging an issue for some time now and have come to the conclusion that the texelFetch and textureGrad operations fail on some devices with Adreno 610 or Adreno 618 GPUs. It may look like this:

image

We have a thread to the topic and produce multiple ways to reproduce the issue here: https://forum.playcanvas.com/t/strange-rendering-in-android-13/31622/17

By process of elimination, we found that replacing textureGrad with a normal texture2D call, and converting texelFetch to use texture2D with normalized coordinates fixed the issues we were seeing.

It doesn't seem to be an issue with the Android version, neither with the browser, seeing as the same issue happens with different browsers and multiple versions of Android. 

Some of the devices that produce this issue are:

  1. Samsung A52
  2. Xaomi Redmi Note 8
  3. Xaomi Redmi Note 11


I haven't been able to confirm this happens on all Adreno 618 or 610 devices, but it seems consistent.

Thanks,
Gustav

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.