freedreno: Remove some impossible NULL checks
authorRob Clark <robdclark@chromium.org>
Sat, 3 Dec 2022 19:46:45 +0000 (11:46 -0800)
committerRob Clark <robdclark@chromium.org>
Fri, 30 Dec 2022 16:42:02 +0000 (08:42 -0800)
commit89286632a26d713708b6e55644db18f58502fdee
tree2f671accd00b27cde659e7a23f6b7b92a113d3d3
parent05ca7d114eabfb3e2a2b82ba06ccb7b152e0e2a5
freedreno: Remove some impossible NULL checks

There is only one special case (a3xx/a4xx queries) were a pipe_resource
is allocated without a backing buffer (because we don't know the needed
size until we know the # of bins).  But those will never end up as an
a6xx render target!

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20465>
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c