freedreno/a5xx+: Skip compiling the old gmem blit programs.
authorEric Anholt <eric@anholt.net>
Mon, 13 Apr 2020 21:03:54 +0000 (14:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Apr 2020 22:50:58 +0000 (22:50 +0000)
commit9ce4db6231462998f9426c74681a464bda928842
treee392e1a338359d5ae531b9f72b28674abcbc51ae
parent2513d0257c7698b1686fe26aa5db8b7b2969d845
freedreno/a5xx+: Skip compiling the old gmem blit programs.

Saves a bunch of noise for me to sort through in IR3_SHADER_DEBUG=vs,fs
shader-db/run <single shader_test>.  I found that we were crashing on
destroy of NULL programs in fd_prog_fini, so I replicated the gpu_id < 300
early exit from fd_prog_init() down to _fini as well.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4538>
src/gallium/drivers/freedreno/freedreno_program.c