panfrost: Process scissor state earlier

Otherwise, if batch->scissor_culls_everything is set for a single draw,
every draw after it in the batch will be skipped because the new
scissor/viewport state will never be processed. Process scissor state
early in draw_vbo to fix this interaction.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reported-by: Icecream95 <ixn@disroot.org>
Fixes: 79356b2e ("panfrost: Skip rasterizer discard draws without side effects")
Closes: #5839
103 jobs for !14575 with frozen-dairy in 25 minutes and 9 seconds (queued for 7 seconds)
merge request
Name Stage Failure
failed
panfrost-g52-piglit-gl:arm64 2/2 Arm
Running after_script
Running after script...
$ wget -q "https://${JOB_RESULTS_PATH}" -O- | tar -xz
Uploading artifacts for failed job
Uploading artifacts...
results/: found 82 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=17671159 responseStatus=201 Created token=ydx3a_Vk
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
panfrost-g52-piglit-gl:arm64 1/2 Arm
Running after_script
Running after script...
$ wget -q "https://${JOB_RESULTS_PATH}" -O- | tar -xz
Uploading artifacts for failed job
Uploading artifacts...
results/: found 85 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=17671158 responseStatus=201 Created token=j5PAiUQ5
Cleaning up file based variables
ERROR: Job failed: exit code 1