i965: setup sized internalformat for MESA_FORMAT_R10G10B10A2_UNORM

Commit d2b60e43 introduced restrictions (as per GLES spec) on the
internal format. We need to setup a sized format for the texture image
so framebuffers created with that are considered complete.

This change fixes following Android CTS test in AHardwareBufferNativeTests
category:

   SingleLayer_ColorTest_GpuColorOutputAndSampledImage_R10G10B10A2_UNORM

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Fixes: d2b60e43 ("mesa/main: R10G10B10_(A2) formats are not color renderable in ES")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
50 jobs for !2305 with eglimage_1010102 in 23 minutes and 48 seconds (queued for 8 seconds)
detached
Status Name Job ID Coverage
  Container
passed debian-10:amd64 #824116

00:00:21

passed debian-10:arm64 #824118
aarch64

00:00:18

passed debian-9:amd64 #824117

00:00:28

passed lava-container:arm64 #824115

00:00:21

passed lava-container:armhf #824114

00:00:21

 
  Build
passed lava-build:arm64 #824120

00:05:04

passed lava-build:armhf #824119

00:05:13

passed meson-arm64 #824123
aarch64

00:02:15

passed meson-armhf #824122
aarch64

00:03:22

passed meson-clang #824125

00:08:30

passed meson-clover #824129

00:04:47

passed meson-clover-old-llvm #824130

00:06:06

passed meson-i386 #824132

00:04:53

passed meson-main #824121

00:10:53

passed meson-mingw32-x86_64 #824133

00:02:21

passed meson-swr-glvnd #824124

00:06:13

passed meson-vulkan #824131

00:02:40

passed meson-windows #824126
mesa-windows

00:06:37

passed scons #824134

00:08:21

passed scons-old-llvm #824135

00:06:04

passed scons-swr #824127

00:04:31

passed scons-win64 #824128

00:06:25

 
  Test
passed arm64_a306_gles2 1/4 #824160
db410c

00:18:20

passed arm64_a306_gles2 2/4 #824161
db410c

00:19:12

passed arm64_a306_gles2 3/4 #824162
db410c

00:17:18

passed arm64_a306_gles2 4/4 #824163
db410c

00:03:44

passed arm64_a630_gles2 #824149
mesa-cheza

00:03:52

passed arm64_a630_gles31 1/4 #824150
mesa-cheza

00:03:56

passed arm64_a630_gles31 2/4 #824151
mesa-cheza

00:05:00

passed arm64_a630_gles31 3/4 #824152
mesa-cheza

00:04:39

passed arm64_a630_gles31 4/4 #824153
mesa-cheza

00:04:55

passed arm64_a630_gles3 1/6 #824154
mesa-cheza

00:03:01

passed arm64_a630_gles3 2/6 #824155
mesa-cheza

00:03:35

passed arm64_a630_gles3 3/6 #824156
mesa-cheza

00:03:20

passed arm64_a630_gles3 4/6 #824157
mesa-cheza

00:03:32

passed arm64_a630_gles3 5/6 #824158
mesa-cheza

00:03:39

passed arm64_a630_gles3 6/6 #824159
mesa-cheza

00:03:40

passed lima-test:arm64 #824139
lava-meson-gxl-s905x-libretech-cc

00:04:26

passed lima-test:armhf #824138
lava-sun8i-h3-libretech-all-h3-cc

00:04:55

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

00:05:17

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

00:04:32

passed test-llvmpipe-gles2 1/4 #824140

00:03:29

passed test-llvmpipe-gles2 2/4 #824141

00:03:41

passed test-llvmpipe-gles2 3/4 #824142

00:03:25

passed test-llvmpipe-gles2 4/4 #824143

00:03:35

passed test-softpipe-gles2 1/4 #824144

00:01:29

passed test-softpipe-gles2 2/4 #824145

00:01:27

passed test-softpipe-gles2 3/4 #824146

00:01:28

passed test-softpipe-gles2 4/4 #824147

00:01:28

passed test-softpipe-gles3-limited #824148

00:03:47