mesa: check framebuffer completeness only after state update

The change made in 88d66583 ("mesa: check draw buffer completeness
on glClearBufferfi/glClearBufferiv") correctly updated the state prior
to checking the framebuffer completeness on glClearBufferiv but not in
glClearBufferfi.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Fixes: 88d66583 ("mesa: check draw buffer completeness on glClearBufferfi/glClearBufferiv")
Gitlab: mesa/mesa#2072
48 jobs for !2690 with review/mesa-state-fbo-completeness-fix in 12 minutes and 55 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Container
passed #925010
debian-10:amd64

00:00:19

passed #925012
aarch64
debian-10:arm64

00:00:20

passed #925013
aarch64
debian-10-test:arm64

00:00:19

passed #925011
debian-9:amd64

00:00:23

passed #925009
lava-container:arm64

00:00:20

passed #925008
lava-container:armhf

00:00:21

 
  Build
passed #925015
lava-build:arm64

00:05:07

passed #925014
lava-build:armhf

00:04:35

passed #925018
aarch64
meson-arm64

00:05:44

passed #925017
aarch64
meson-armhf

00:04:46

passed #925020
meson-clang

00:06:59

passed #925023
meson-clover

00:05:22

passed #925024
meson-clover-old-llvm

00:04:55

passed #925026
meson-i386

00:05:52

passed #925016
meson-main

00:08:24

passed #925027
meson-mingw32-x86_64

00:02:47

passed #925019
meson-swr-glvnd

00:04:49

passed #925025
meson-vulkan

00:03:44

passed #925028
scons

00:08:17

passed #925029
scons-old-llvm

00:08:19

passed #925021
scons-swr

00:04:37

passed #925022
scons-win64

00:09:48

 
  Test
passed #925052
db410c
arm64_a306_gles2 1/4

00:04:08

passed #925053
db410c
arm64_a306_gles2 2/4

00:04:53

passed #925054
db410c
arm64_a306_gles2 3/4

00:03:56

passed #925055
db410c
arm64_a306_gles2 4/4

00:04:05

passed #925041
mesa-cheza
arm64_a630_gles2

00:04:51

passed #925042
mesa-cheza
arm64_a630_gles31 1/4

00:04:55

passed #925043
mesa-cheza
arm64_a630_gles31 2/4

00:05:25

passed #925044
mesa-cheza
arm64_a630_gles31 3/4

00:05:42

passed #925045
mesa-cheza
arm64_a630_gles31 4/4

00:05:17

passed #925046
mesa-cheza
arm64_a630_gles3 1/6

00:03:47

passed #925047
mesa-cheza
arm64_a630_gles3 2/6

00:04:13

passed #925048
mesa-cheza
arm64_a630_gles3 3/6

00:04:09

passed #925049
mesa-cheza
arm64_a630_gles3 4/6

00:03:51

passed #925050
mesa-cheza
arm64_a630_gles3 5/6

00:03:37

passed #925051
mesa-cheza
arm64_a630_gles3 6/6

00:03:57

passed #925030
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:06:07

passed #925031
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:30

passed #925032
test-llvmpipe-gles2 1/4

00:03:40

passed #925033
test-llvmpipe-gles2 2/4

00:04:01

passed #925034
test-llvmpipe-gles2 3/4

00:03:33

passed #925035
test-llvmpipe-gles2 4/4

00:03:49

passed #925036
test-softpipe-gles2 1/4

00:01:35

passed #925037
test-softpipe-gles2 2/4

00:01:43

passed #925038
test-softpipe-gles2 3/4

00:01:09

passed #925039
test-softpipe-gles2 4/4

00:01:36

passed #925040
test-softpipe-gles3-limited

00:04:07