Assorted fixes
Trying to get virgl's ES 3.1 support tested in Mesa CI with llvmpipe, I found a few small issues that I addressed in this MR.
Trying to get virgl's ES 3.1 support tested in Mesa CI with llvmpipe, I found a few small issues that I addressed in this MR.