lima: Fix glFrontFace handling

Bit 12 of render->aux1 is GL_CCW/GL_CW. For GL_CCW (default of glFrontFace) we have
to set that bit active. Until now, this bit was always set and all ohter tests passed,
so we can conclude, that 0x1000 is the default value (GL_CCW) anyway.

This is not what the blob does and what the original reverse engineering documentation
says. The blob sets this value inverted and does some bogus negation of the fragment
shaders gl_FrontFacing variable instead.
The blob fails with dEQP-GLES2.funtional.shaders.builtin_variable.frontfacing btw.

Anyway, doing it this way does not cause regressions but fixes
dEQP-GLES2.functional.shaders.builtin_variable.frontfacing and 4 piglit tests.

Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
188 jobs for lima-add-glFrontFace
Status Name Job ID Coverage
  Container
created debian/android_build #13822312
manual debian/arm_build #13822316
aarch64 manual
created debian/arm_test #13822321
created debian/i386_build #13822309
created debian/ppc64el_build #13822310
created debian/s390x_build #13822311
created debian/x86_build #13822308
manual debian/x86_build-base #13822307
manual
manual debian/x86_test-base #13822313
manual
created debian/x86_test-gl #13822314
created debian/x86_test-vk #13822315
manual fedora/x86_build #13822317
manual
created kernel+rootfs_amd64 #13822318
created kernel+rootfs_arm64 #13822319
aarch64
created kernel+rootfs_armhf #13822320
aarch64
manual windows_build_vs2019 #13822322
windows shell 1809 mesa manual
 
  Build X86 64
created debian-clang #13822329
created debian-clover #13822330
created debian-clover-testing #13822325
created debian-gallium #13822326
created debian-release #13822327
created debian-testing #13822323
created debian-testing-asan #13822324
created debian-vulkan #13822331
created fedora-release #13822328
 
  Build Misc
created debian-android #13822332
created debian-arm64 #13822334
aarch64
created debian-arm64-asan #13822335
aarch64
created debian-arm64-build-test #13822336
aarch64
created debian-armhf #13822333
aarch64
created debian-i386 #13822338
created debian-mingw32-x86_64 #13822341
created debian-ppc64el #13822340
created debian-s390x #13822339
kvm
created windows-vs2019 #13822337
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gles2:amd64 #13822350
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 1/2 #13822353
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 2/2 #13822354
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 1/2 #13822351
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 2/2 #13822352
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #13822356
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #13822355
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv-fossils #13822349
created radv-navy_flounder-traces #13822343
amdgpu:codename:NAVY_FLOUNDER manual
created radv-navy_flounder-vkd3d-proton #13822342
amdgpu:codename:NAVY_FLOUNDER manual
created radv_polaris10_vkcts #13822345
polaris10 manual
created radv-raven-traces #13822344
amdgpu:codename:RAVEN manual
created radv_stoney_vkcts:amd64 1/3 #13822346
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 2/3 #13822347
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 3/3 #13822348
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #13822357
anholt-g33 manual
created i915-g33-piglit #13822358
anholt-g33 manual
created i915-g33-traces #13822359
anholt-g33 manual
created iris-amly-deqp 1/3 #13822367
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 2/3 #13822368
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 3/3 #13822369
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-egl #13822376
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 1/3 #13822377
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 2/3 #13822378
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 3/3 #13822379
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-traces #13822382
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-apl-deqp 1/3 #13822360
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 2/3 #13822361
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 3/3 #13822362
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-egl #13822363
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #13822380
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-cml-deqp 1/2 #13822374
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-deqp 2/2 #13822375
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-traces #13822385
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-glk-deqp 1/2 #13822364
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-deqp 2/2 #13822365
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-egl #13822366
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-traces #13822381
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-kbl-deqp 1/3 #13822370
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 2/3 #13822371
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 3/3 #13822372
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-traces #13822383
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-whl-deqp #13822373
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
created iris-whl-traces #13822384
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
 
  Arm
created lima-mali450-test:arm64 #13822386
mesa-ci-x86-64-lava-lima
created panfrost-g52-gl:arm64 1/3 #13822394
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 2/3 #13822395
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 3/3 #13822397
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g72-gl:arm64 1/3 #13822399
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 2/3 #13822402
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 3/3 #13822404
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-t720-gles2:arm64 #13822387
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #13822388
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #13822389
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gl:arm64 1/3 #13822390
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 2/3 #13822391
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 3/3 #13822392
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #13822393
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #13822447
igalia-rpi4
created v3d-rpi4-gles:armhf 1/8 #13822428
igalia-rpi4
created v3d-rpi4-gles:armhf 2/8 #13822430
igalia-rpi4
created v3d-rpi4-gles:armhf 3/8 #13822433
igalia-rpi4
created v3d-rpi4-gles:armhf 4/8 #13822435
igalia-rpi4
created v3d-rpi4-gles:armhf 5/8 #13822438
igalia-rpi4
created v3d-rpi4-gles:armhf 6/8 #13822440
igalia-rpi4
created v3d-rpi4-gles:armhf 7/8 #13822443
igalia-rpi4
created v3d-rpi4-gles:armhf 8/8 #13822445
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/4 #13822449
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/4 #13822451
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/4 #13822453
igalia-rpi4
created v3d-rpi4-piglit:armhf 4/4 #13822455
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/8 #13822457
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/8 #13822459
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/8 #13822461
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/8 #13822463
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/8 #13822465
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/8 #13822467
igalia-rpi4
created v3dv-rpi4-vk:arm64 7/8 #13822469
igalia-rpi4
created v3dv-rpi4-vk:arm64 8/8 #13822471
igalia-rpi4
created vc4-rpi3-egl:armhf #13822413
igalia-rpi3
created vc4-rpi3-gles:armhf 1/2 #13822407
igalia-rpi3
created vc4-rpi3-gles:armhf 2/2 #13822410
igalia-rpi3
created vc4-rpi3-piglit-quick_gl:armhf 1/4 #13822415
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 2/4 #13822417
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 3/4 #13822419
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 4/4 #13822421
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 1/2 #13822424
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 2/2 #13822425
igalia-rpi3 manual
 
  Freedreno
created a306_gl 1/5 #13822473
google-freedreno-db410c
created a306_gl 2/5 #13822475
google-freedreno-db410c
created a306_gl 3/5 #13822477
google-freedreno-db410c
created a306_gl 4/5 #13822479
google-freedreno-db410c
created a306_gl 5/5 #13822481
google-freedreno-db410c
created a306-traces #13822483
google-freedreno-db410c
created a530_gl 1/5 #13822485
google-freedreno-db820c
created a530_gl 2/5 #13822487
google-freedreno-db820c
created a530_gl 3/5 #13822489
google-freedreno-db820c
created a530_gl 4/5 #13822491
google-freedreno-db820c
created a530_gl 5/5 #13822493
google-freedreno-db820c
created a530_piglit_gl #13822495
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #13822497
google-freedreno-db820c
created a530_piglit_shader 2/2 #13822499
google-freedreno-db820c
created a530-traces #13822501
google-freedreno-db820c
created a630_egl #13822510
google-freedreno-cheza
created a630_gl 1/4 #13822503
google-freedreno-cheza
created a630_gl 2/4 #13822505
google-freedreno-cheza
created a630_gl 3/4 #13822507
google-freedreno-cheza
created a630_gl 4/4 #13822509
google-freedreno-cheza
created a630_gles_asan #13822511
google-freedreno-cheza manual
created a630_piglit #13822518
google-freedreno-cheza
created a630-traces #13822519
google-freedreno-cheza
created a630_vk 1/3 #13822512
google-freedreno-cheza
created a630_vk 2/3 #13822513
google-freedreno-cheza
created a630_vk 3/3 #13822514
google-freedreno-cheza
created a630_vk_asan #13822517
google-freedreno-cheza manual
created a630_vk_full 1/2 #13822515
google-freedreno-cheza manual
created a630_vk_full 2/2 #13822516
google-freedreno-cheza manual
 
  Software Renderer
created lavapipe-nir-stress #13822534
created lavapipe-vk #13822533
created lavapipe-vk-asan #13822535
created llvmpipe-deqp 1/2 #13822525
created llvmpipe-deqp 2/2 #13822526
created llvmpipe-deqp-asan #13822527
created llvmpipe-egl #13822528
created llvmpipe-piglit-cl #13822520
created llvmpipe-piglit-glslparser #13822522
created llvmpipe-piglit-quick_gl #13822521
created llvmpipe-piglit-quick_shader #13822523
created llvmpipe-traces #13822524
created softpipe-asan-gles31 #13822531
created softpipe-deqp 1/2 #13822529
created softpipe-deqp 2/2 #13822530
created softpipe-piglit-quick #13822532
 
  Layered Backends
created test-d3d12-windows #13822554
windows docker 1809 mesa
created virgl-on-gl 1/6 #13822536
kvm
created virgl-on-gl 2/6 #13822537
kvm
created virgl-on-gl 3/6 #13822538
kvm
created virgl-on-gl 4/6 #13822539
kvm
created virgl-on-gl 5/6 #13822540
kvm
created virgl-on-gl 6/6 #13822541
kvm
created virgl-on-gles 1/6 #13822542
kvm manual
created virgl-on-gles 2/6 #13822543
kvm manual
created virgl-on-gles 3/6 #13822544
kvm manual
created virgl-on-gles 4/6 #13822545
kvm manual
created virgl-on-gles 5/6 #13822546
kvm manual
created virgl-on-gles 6/6 #13822547
kvm manual
created virgl-traces #13822548
kvm
created zink-lvp-deqp 1/2 #13822552
created zink-lvp-deqp 2/2 #13822553
created zink-piglit-lazy #13822551
created zink-piglit-no_timelines #13822550
created zink-piglit-timelines #13822549
 
  Deploy
manual test-docs #13822555
manual