mesa/st: fix st_point_size_per_vertex helper for desktop GL

This fixes upcoming point size CTS tests that do following:

1. set point size in tess ctrl shader but ignore it in eval shader
2. set point size in vert shader but set different value in eval shader
3. set point size in vert and tess eval but ignore in geometry shader

(dEQP-GL45.functional.tessellation_geometry_interaction.*)

No regression observed in ES point size tests or Piglit tests, removed
branch is likely redudant to the checks below that handle the vertex
program case.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
112 jobs for !10073 with gl-pointsize-fix in 14 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #8612886
sanity

00:00:14

 
  Container
manual #8612889
aarch64 manual
arm_build
manual #8612890
windows shell 1809 mesa manual
windows_build_vs2019
manual #8612887
manual
x86_build-base
manual #8612888
manual
x86_test-base
 
  Container 2
created #8612898
android_build
created #8612895
i386_build
created #8612891
kernel+rootfs_amd64
created #8612892
aarch64
kernel+rootfs_arm64
created #8612901
aarch64
kernel+rootfs_arm64-baremetal
created #8612893
aarch64
kernel+rootfs_armhf
created #8612902
aarch64
kernel+rootfs_armhf-baremetal
created #8612896
ppc64el_build
created #8612897
s390x_build
created #8612894
x86_build
created #8612899
x86_test-gl
created #8612900
x86_test-vk
 
  Meson X86 64
created #8612908
meson-clang
created #8612909
meson-clover
created #8612905
meson-clover-testing
created #8612906
meson-gallium
created #8612907
meson-release
created #8612903
meson-testing
created #8612904
meson-testing-asan
created #8612910
meson-vulkan
 
  Build Misc
created #8612911
arm_test
created #8612912
meson-android
created #8612914
aarch64
meson-arm64
created #8612915
aarch64
meson-arm64-asan
created #8612916
aarch64
meson-arm64-build-test
created #8612913
aarch64
meson-armhf
created #8612918
meson-i386
created #8612921
meson-mingw32-x86_64
created #8612920
kvm
meson-ppc64el
created #8612919
kvm
meson-s390x
created #8612917
windows docker 1809 mesa
meson-windows-vs2019
 
  Amd
created #8612923
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #8612924
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #8612922
radv-fossils
 
  Arm
created #8612925
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #8612926
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #8612927
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #8612928
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #8612929
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Broadcom
created #8612940
igalia-rpi4
v3d-rpi4-gles2:armhf
created #8612934
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2
created #8612935
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2
created #8612936
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4
created #8612937
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4
created #8612938
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4
created #8612939
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4
created #8612941
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6
created #8612942
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6
created #8612943
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6
created #8612944
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6
created #8612945
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6
created #8612946
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6
created #8612930
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #8612931
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #8612932
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #8612933
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Freedreno
created #8612947
google-freedreno-db410c
a306_gles2
created #8612948
google-freedreno-db410c
a306_gles3 1/3
created #8612949
google-freedreno-db410c
a306_gles3 2/3
created #8612950
google-freedreno-db410c
a306_gles3 3/3
created #8612951
google-freedreno-db410c
a306_gles3_options
created #8612952
google-freedreno-db410c
a306-traces
created #8612953
google-freedreno-db820c
a530_gles2
created #8612956
google-freedreno-db820c
a530_gles31 1/2
created #8612954
google-freedreno-db820c
a530_gles3 1/2
created #8612957
google-freedreno-db820c
a530_gles31 2/2
created #8612955
google-freedreno-db820c
a530_gles3 2/2
created #8612958
google-freedreno-db820c
a530_piglit_gl
created #8612959
google-freedreno-db820c
a530_piglit_shader
created #8612960
google-freedreno-db820c
a530-traces
created #8612964
google-freedreno-cheza
a630_gl
created #8612961
google-freedreno-cheza
a630_gles2
created #8612963
google-freedreno-cheza
a630_gles3
created #8612962
google-freedreno-cheza
a630_gles31
created #8612965
google-freedreno-cheza
a630_gles_others
created #8612969
google-freedreno-cheza
a630_piglit_gl
created #8612970
google-freedreno-cheza
a630_piglit_shader
created #8612971
google-freedreno-cheza
a630-traces
created #8612966
google-freedreno-cheza
a630_vk 1/2
created #8612967
google-freedreno-cheza
a630_vk 2/2
created #8612968
google-freedreno-cheza
a630_vk_sysmem
 
  Software Renderer
created #8612984
lavapipe-vk
created #8612976
llvmpipe-gles2
created #8612973
llvmpipe-piglit-glslparser
created #8612972
llvmpipe-piglit-quick_gl
created #8612974
llvmpipe-piglit-quick_shader
created #8612975
llvmpipe-traces
created #8612981
softpipe-asan-gles31
created #8612983
softpipe-gl
created #8612977
softpipe-gles2
created #8612978
softpipe-gles3
created #8612979
softpipe-gles31 1/2
created #8612980
softpipe-gles31 2/2
created #8612982
softpipe-piglit-quick
 
  Layered Backends
created #8612997
windows docker 1809 mesa
test-d3d12-windows
created #8612989
virgl-gl30-on-gl
created #8612990
virgl-gl31-on-gl
created #8612991
virgl-gl32-on-gl
created #8612985
virgl-gles2-on-gl
created #8612987
virgl-gles31-on-gl 1/2
created #8612988
virgl-gles31-on-gl 2/2
created #8612986
virgl-gles3-on-gl
created #8612992
virgl-traces
created #8612996
zink-lvp-gl
created #8612994
zink-lvp-gles2
created #8612995
zink-lvp-gles3
created #8612993
zink-piglit-quick_gl