mesa/main: do not allow illegal enums for ConservativeRasterParameter[if]NV

The NV_conservative_raster_pre_snap_triangles spec allows
CONSERVATIVE_RASTER_MODE_NV for ConservativeRasterParameteriNV, but not
for ConservativeRasterParameterfNV.

Similarly, the NV_conservative_raster_dilate spec allows
CONSERVATIVE_RASTER_DILATE_NV for ConservativeRasterParameterfNV, but
not for ConservativeRasterParameteriNV.

These two functions hare no overlapping state they can set. So let's
split them in two, so we don't confuse their implementations.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: 45806175 ("mesa: add support for nvidia conservative rasterization extensions")
40 jobs for !2111 with conservative-raster-pnames in 30 minutes and 59 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Containers
passed #695303
debian-10

00:00:20

passed #695304
debian-9

00:00:22

passed #695305
aarch64
test-container:arm64

00:00:20

 
  Build
passed #695308
meson-arm64

00:05:43

passed #695307
meson-armhf

00:03:34

passed #695310
meson-clang

00:07:07

passed #695313
meson-clover

00:06:01

passed #695314
meson-clover-old-llvm

00:05:45

passed #695316
meson-i386

00:03:45

passed #695306
meson-main

00:11:05

passed #695309
meson-swr-glvnd

00:04:32

passed #695315
meson-vulkan

00:02:01

passed #695317
scons

00:08:57

passed #695318
scons-old-llvm

00:07:52

passed #695311
scons-swr

00:04:46

passed #695312
scons-win64

00:10:27

 
  Test
passed #695339
db410c
arm64_a306_gles2 1/4

00:04:13

passed #695340
db410c
arm64_a306_gles2 2/4

00:05:56

passed #695341
db410c
arm64_a306_gles2 3/4

00:04:08

passed #695342
db410c
arm64_a306_gles2 4/4

00:04:24

passed #695328
mesa-cheza
arm64_a630_gles2

00:05:07

passed #695329
mesa-cheza
arm64_a630_gles31 1/4

00:06:42

passed #695330
mesa-cheza
arm64_a630_gles31 2/4

00:07:45

passed #695331
mesa-cheza
arm64_a630_gles31 3/4

00:07:47

passed #695332
mesa-cheza
arm64_a630_gles31 4/4

00:07:17

passed #695333
mesa-cheza
arm64_a630_gles3 1/6

00:04:29

passed #695334
mesa-cheza
arm64_a630_gles3 2/6

00:04:15

passed #695335
mesa-cheza
arm64_a630_gles3 3/6

00:03:52

passed #695336
mesa-cheza
arm64_a630_gles3 4/6

00:04:27

passed #695337
mesa-cheza
arm64_a630_gles3 5/6

00:04:25

passed #695338
mesa-cheza
arm64_a630_gles3 6/6

00:03:59

passed #695319
test-llvmpipe-gles2 1/4

00:03:34

passed #695320
test-llvmpipe-gles2 2/4

00:04:18

passed #695321
test-llvmpipe-gles2 3/4

00:03:48

passed #695322
test-llvmpipe-gles2 4/4

00:03:50

passed #695323
test-softpipe-gles2 1/4

00:01:30

passed #695324
test-softpipe-gles2 2/4

00:01:06

passed #695325
test-softpipe-gles2 3/4

00:01:33

passed #695326
test-softpipe-gles2 4/4

00:01:37

passed #695327
test-softpipe-gles3-limited

00:03:49