nir: Add fsin_agx opcode

Used to split up the fsin/fcos lowering for AGX between NIR and the
backend, to permit algebraic optimizations without polluting NIR with
too many hardware details. The backend NIR lowering produces an
fmul/ffma of the input so we can optimize code like sin(2*x).

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
130 jobs for !10580 with fsin in 8 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #9372086
sanity

00:00:08

 
  Container
manual #9372089
aarch64 manual
arm_build
manual #9372090
windows shell 1809 mesa manual
windows_build_vs2019
manual #9372087
manual
x86_build-base
manual #9372088
manual
x86_test-base
 
  Container 2
created #9372095
android_build
created #9372092
i386_build
created #9372098
kernel+rootfs_amd64
created #9372099
aarch64
kernel+rootfs_arm64
created #9372100
aarch64
kernel+rootfs_armhf
created #9372093
ppc64el_build
created #9372094
s390x_build
created #9372091
x86_build
created #9372096
x86_test-gl
created #9372097
x86_test-vk
 
  Meson X86 64
created #9372106
meson-clang
created #9372107
meson-clover
created #9372103
meson-clover-testing
created #9372104
meson-gallium
created #9372105
meson-release
created #9372101
meson-testing
created #9372102
meson-testing-asan
created #9372108
meson-vulkan
 
  Build Misc
created #9372109
arm_test
created #9372110
meson-android
created #9372112
aarch64
meson-arm64
created #9372113
aarch64
meson-arm64-asan
created #9372114
aarch64
meson-arm64-build-test
created #9372111
aarch64
meson-armhf
created #9372116
meson-i386
created #9372119
meson-mingw32-x86_64
created #9372118
meson-ppc64el
created #9372117
kvm
meson-s390x
created #9372115
windows docker 1809 mesa
meson-windows-vs2019
 
  Amd
created #9372121
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #9372124
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64 1/2
created #9372125
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64 2/2
created #9372122
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64 1/2
created #9372123
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64 2/2
created #9372127
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-piglit-gl:amd64
created #9372126
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #9372120
radv-fossils
 
  Intel
created #9372130
mesa-ci-aarch64-lava-collabora manual
iris-amly-traces:amd64
created #9372128
mesa-ci-aarch64-lava-collabora manual
iris-apl-traces:amd64
created #9372129
mesa-ci-aarch64-lava-collabora manual
iris-glk-traces:amd64
 
  Arm
created #9372139
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #9372141
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles31:arm64
created #9372140
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #9372131
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #9372132
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #9372133
mesa-ci-aarch64-lava-collabora
panfrost-t760-traces:armhf
created #9372134
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #9372137
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles31:arm64
created #9372135
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #9372136
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #9372138
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Broadcom
created #9372152
igalia-rpi4
v3d-rpi4-gles2:armhf
created #9372146
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2
created #9372147
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2
created #9372148
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4
created #9372149
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4
created #9372150
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4
created #9372151
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4
created #9372153
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6
created #9372154
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6
created #9372155
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6
created #9372156
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6
created #9372157
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6
created #9372158
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6
created #9372142
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #9372143
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #9372144
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #9372145
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Freedreno
created #9372159
google-freedreno-db410c
a306_gles2
created #9372160
google-freedreno-db410c
a306_gles3 1/3
created #9372161
google-freedreno-db410c
a306_gles3 2/3
created #9372162
google-freedreno-db410c
a306_gles3 3/3
created #9372163
google-freedreno-db410c
a306_gles3_options
created #9372164
google-freedreno-db410c
a306-traces
created #9372165
google-freedreno-db820c
a530_gles2
created #9372168
google-freedreno-db820c
a530_gles31 1/2
created #9372166
google-freedreno-db820c
a530_gles3 1/2
created #9372169
google-freedreno-db820c
a530_gles31 2/2
created #9372167
google-freedreno-db820c
a530_gles3 2/2
created #9372170
google-freedreno-db820c
a530_piglit_gl
created #9372171
google-freedreno-db820c
a530_piglit_shader
created #9372172
google-freedreno-db820c
a530-traces
created #9372177
google-freedreno-cheza
a630_egl
created #9372176
google-freedreno-cheza
a630_gl
created #9372173
google-freedreno-cheza
a630_gles2
created #9372175
google-freedreno-cheza
a630_gles3
created #9372174
google-freedreno-cheza
a630_gles31
created #9372178
google-freedreno-cheza
a630_gles_others
created #9372182
google-freedreno-cheza
a630_piglit
created #9372183
google-freedreno-cheza
a630-traces
created #9372179
google-freedreno-cheza
a630_vk 1/2
created #9372180
google-freedreno-cheza
a630_vk 2/2
created #9372181
google-freedreno-cheza
a630_vk_sysmem
 
  Software Renderer
created #9372202
lavapipe-vk
created #9372191
llvmpipe-egl
created #9372189
llvmpipe-gles2
created #9372190
llvmpipe-khr-gles2
created #9372184
llvmpipe-piglit-cl
created #9372186
llvmpipe-piglit-glslparser
created #9372185
llvmpipe-piglit-quick_gl
created #9372187
llvmpipe-piglit-quick_shader
created #9372188
llvmpipe-traces
created #9372199
softpipe-asan-gles31
created #9372201
softpipe-gl
created #9372192
softpipe-gles2
created #9372193
softpipe-gles3
created #9372194
softpipe-gles31 1/2
created #9372195
softpipe-gles31 2/2
created #9372196
softpipe-khr-gles2
created #9372197
softpipe-khr-gles3
created #9372198
softpipe-khr-gles31
created #9372200
softpipe-piglit-quick
 
  Layered Backends
created #9372215
windows docker 1809 mesa
test-d3d12-windows
created #9372207
virgl-gl30-on-gl
created #9372208
virgl-gl31-on-gl
created #9372209
virgl-gl32-on-gl
created #9372203
virgl-gles2-on-gl
created #9372205
virgl-gles31-on-gl 1/2
created #9372206
virgl-gles31-on-gl 2/2
created #9372204
virgl-gles3-on-gl
created #9372210
virgl-traces
created #9372214
zink-lvp-gl
created #9372212
zink-lvp-gles2
created #9372213
zink-lvp-gles3
created #9372211
zink-piglit-quick_gl