st/mesa: fix crash for drivers supporting nir defaulting to tgsi

nvc0 and I assume radeonsi as well hit an assert inside glsl_to_tgsi as atan
instructions get inserted into the shader.

Fixes: cece947a ("glsl/builtin: Add alternate versions of atan using new ops")
Cc: Neil Roberts <nroberts@igalia.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
48 jobs for master in 20 minutes and 58 seconds (queued for 23 seconds)
Status Job ID Name Coverage
  Container
passed #760004
debian-10

00:00:35

passed #760005
debian-9

00:00:44

passed #760003
lava-container:arm64

00:00:50

passed #760002
lava-container:armhf

00:00:50

passed #760006
aarch64
test-container:arm64

00:00:20

 
  Build
passed #760008
lava-build:arm64

00:05:49

passed #760007
lava-build:armhf

00:05:45

passed #760011
meson-arm64

00:06:12

passed #760010
meson-armhf

00:04:00

passed #760013
meson-clang

00:07:31

passed #760016
meson-clover

00:06:54

passed #760017
meson-clover-old-llvm

00:04:19

passed #760019
meson-i386

00:05:43

passed #760009
meson-main

00:11:06

passed #760012
meson-swr-glvnd

00:05:57

passed #760018
meson-vulkan

00:03:45

passed #760020
scons

00:11:37

passed #760021
scons-old-llvm

00:12:18

passed #760014
scons-swr

00:06:11

passed #760015
scons-win64

00:07:58

 
  Test
passed #760046
db410c
arm64_a306_gles2 1/4

00:12:07

passed #760047
db410c
arm64_a306_gles2 2/4

00:12:27

passed #760048
db410c
arm64_a306_gles2 3/4

00:10:03

passed #760049
db410c
arm64_a306_gles2 4/4

00:03:46

passed #760035
mesa-cheza
arm64_a630_gles2

00:04:13

passed #760036
mesa-cheza
arm64_a630_gles31 1/4

00:03:51

passed #760037
mesa-cheza
arm64_a630_gles31 2/4

00:04:50

passed #760038
mesa-cheza
arm64_a630_gles31 3/4

00:04:36

passed #760039
mesa-cheza
arm64_a630_gles31 4/4

00:04:46

passed #760040
mesa-cheza
arm64_a630_gles3 1/6

00:03:28

passed #760041
mesa-cheza
arm64_a630_gles3 2/6

00:03:23

passed #760042
mesa-cheza
arm64_a630_gles3 3/6

00:03:27

passed #760043
mesa-cheza
arm64_a630_gles3 4/6

00:03:37

passed #760044
mesa-cheza
arm64_a630_gles3 5/6

00:03:21

passed #760045
mesa-cheza
arm64_a630_gles3 6/6

00:03:26

passed #760025
lava-meson-gxl-s905x-libretech-cc
lima-test:arm64

00:05:47

passed #760024
lava-sun8i-h3-libretech-all-h3-cc
lima-test:armhf

00:06:45

passed #760022
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:05:02

passed #760023
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:25

passed #760026
test-llvmpipe-gles2 1/4

00:03:27

passed #760027
test-llvmpipe-gles2 2/4

00:03:48

passed #760028
test-llvmpipe-gles2 3/4

00:03:29

passed #760029
test-llvmpipe-gles2 4/4

00:03:41

passed #760030
test-softpipe-gles2 1/4

00:01:29

passed #760031
test-softpipe-gles2 2/4

00:01:37

passed #760032
test-softpipe-gles2 3/4

00:01:35

passed #760033
test-softpipe-gles2 4/4

00:01:26

passed #760034
test-softpipe-gles3-limited

00:03:53