turnip: fix huge scissor min/max case

Now that tu_cs_emit_regs is used for the scissor, it hits an assert when
the scissor is too large. Fixes this dEQP test:

dEQP-VK.draw.scissor.static_scissor_max_int32

Fixes: 9c0ae570 ("turnip: fix empty scissor case")

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <mesa/mesa!5655>
43 jobs for !5655 with turnip15 in 33 minutes and 10 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Container
passed arm_build #3313325
aarch64

00:00:21

passed arm_test-base #3313326

00:00:20

passed windows_build_vs2019 #3313328
windows shell 1809 mesa

00:00:08

passed x86_build-base #3313320

00:00:27

passed x86_build_old #3313323

00:00:19

passed x86_test-base #3313321

00:00:21

 
  Container 2
passed arm64_test #3313340

00:00:19

passed i386_build #3313332

00:00:14

passed ppc64el_build #3313334

00:00:26

passed s390x_build #3313335

00:00:21

passed x86_build #3313330

00:00:20

passed x86_test-gl #3313337

00:00:22

passed x86_test-vk #3313338

00:00:13

 
  Meson X86 64
passed meson-clang #3313347

00:08:57

passed meson-classic #3313346

00:01:40

passed meson-clover #3313349

00:04:50

passed meson-clover-old-llvm #3313351

00:09:39

passed meson-gallium #3313344

00:04:21

passed meson-testing #3313342

00:07:34

passed meson-vulkan #3313352

00:05:44

 
  Scons
passed scons-win64 #3313354

00:05:02

 
  Meson Misc
passed meson-arm64 #3313357
aarch64

00:05:09

passed meson-arm64-build-test #3313359
aarch64

00:05:10

passed meson-armhf #3313355
aarch64

00:02:46

passed meson-i386 #3313361

00:01:50

passed meson-mingw32-x86_64 #3313366

00:04:01

passed meson-ppc64el #3313365
kvm

00:04:47

passed meson-s390x #3313363
kvm

00:05:06

 
  Freedreno
passed arm64_a306_gles2 #3313386
google-freedreno-db410c

00:06:45

passed arm64_a306_gles3 #3313388
google-freedreno-db410c

00:11:17

passed arm64_a306_gles3_options #3313390
google-freedreno-db410c

00:04:20

passed arm64_a530_gles2 #3313392
google-freedreno-db820c

00:10:59

passed arm64_a530_gles3 #3313394
google-freedreno-db820c

00:09:00

passed arm64_a530_gles31 #3313396
google-freedreno-db820c

00:04:39

passed arm64_a630_bypass #3313376
google-freedreno-cheza

00:03:52

passed arm64_a630_gles2 #3313368
google-freedreno-cheza

00:05:16

passed arm64_a630_gles3 #3313372
google-freedreno-cheza

00:14:37

passed arm64_a630_gles31 #3313370
google-freedreno-cheza

00:10:25

passed arm64_a630_gmem #3313380
google-freedreno-cheza

00:04:28

passed arm64_a630_noubo #3313374
google-freedreno-cheza

00:03:16

passed arm64_a630_traces #3313378
google-freedreno-cheza

00:07:46

passed arm64_a630_vk #3313382
google-freedreno-cheza

00:07:55

passed arm64_a630_vk_sysmem #3313384
google-freedreno-cheza

00:03:15