freedreno/a3xx: reinstate rgb10_a2ui texture format

Rendering doesn't work, but having the format in place avoids an assert
when selecting the texture format in st_format. I believe it's required
for GLES3, so more tracing is required to determine what bit we're
missing to make rendering work.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5073>
This commit is contained in:
Ilia Mirkin 2020-05-16 21:39:09 -04:00
parent ff4df32fae
commit 8d86892ea3
2 changed files with 1 additions and 20 deletions

View file

@ -60,20 +60,12 @@ dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_min_reverse_src_dst_y
dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_min_reverse_src_x
dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_min_reverse_src_y
dEQP-GLES3.functional.fbo.color.blend.r8_src_over
dEQP-GLES3.functional.fbo.color.repeated_clear.blit.tex2d.rgb10_a2ui
dEQP-GLES3.functional.fbo.color.repeated_clear.sample.tex2d.rgb10_a2ui
dEQP-GLES3.functional.fbo.color.tex2darray.rgb10_a2ui
dEQP-GLES3.functional.fbo.color.tex2d.rgb10_a2ui
dEQP-GLES3.functional.fbo.color.tex3d.rgb10_a2ui
dEQP-GLES3.functional.fbo.color.texcube.rgb10_a2ui
dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.r8i
dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.r8ui
dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb10_a2ui
dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.r8i
dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.r8ui
dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.rgb10_a2ui
dEQP-GLES3.functional.fbo.completeness.renderable.texture.depth.rgb10_a2ui
dEQP-GLES3.functional.fbo.completeness.renderable.texture.stencil.rgb10_a2ui
dEQP-GLES3.functional.fbo.depth.basic.depth24_stencil8
dEQP-GLES3.functional.fbo.depth.basic.depth32f_stencil8
dEQP-GLES3.functional.fbo.depth.basic.depth_component16
@ -89,7 +81,6 @@ dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth32f_stencil8
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth_component16
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth_component24
dEQP-GLES3.functional.fbo.depth.depth_write_clamp.depth_component32f
dEQP-GLES3.functional.fbo.invalidate.format.rgb10_a2ui
dEQP-GLES3.functional.fbo.invalidate.sub.unbind_blit_color
dEQP-GLES3.functional.fbo.invalidate.sub.unbind_blit_depth
dEQP-GLES3.functional.fbo.invalidate.sub.unbind_blit_msaa_color
@ -138,7 +129,6 @@ dEQP-GLES3.functional.fbo.msaa.4_samples.rgba4
dEQP-GLES3.functional.fbo.msaa.4_samples.rgba8
dEQP-GLES3.functional.fbo.msaa.4_samples.srgb8_alpha8
dEQP-GLES3.functional.fbo.msaa.4_samples.stencil_index8
dEQP-GLES3.functional.fbo.render.recreate_color.tex2d_rgb10_a2ui_depth_stencil_rbo_depth24_stencil8
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_rbo_depth_component16
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_rbo_depth_component24
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_rbo_depth_component32f
@ -150,7 +140,6 @@ dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_tex2d_
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_tex2d_depth_component24
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_depth_tex2d_depth_component32f
dEQP-GLES3.functional.fbo.render.recreate_depth_stencil.tex2d_rgba8_stencil_rbo_stencil_index8
dEQP-GLES3.functional.fbo.render.resize.tex2d_rgb10_a2ui
dEQP-GLES3.functional.fbo.render.shared_colorbuffer.rbo_r8
dEQP-GLES3.functional.fbo.render.shared_colorbuffer.rbo_r8_depth_rbo_depth24_stencil8
dEQP-GLES3.functional.fbo.render.shared_colorbuffer.rbo_r8_depth_stencil_rbo_depth24_stencil8
@ -480,14 +469,6 @@ dEQP-GLES3.functional.state_query.fbo.framebuffer_attachment_component_type
dEQP-GLES3.functional.state_query.integers.max_samples_getfloat
dEQP-GLES3.functional.state_query.integers.max_samples_getinteger64
dEQP-GLES3.functional.state_query.rbo.renderbuffer_component_size_color
dEQP-GLES3.functional.texture.format.sized.2d_array.rgb10_a2ui_npot
dEQP-GLES3.functional.texture.format.sized.2d_array.rgb10_a2ui_pot
dEQP-GLES3.functional.texture.format.sized.2d.rgb10_a2ui_npot
dEQP-GLES3.functional.texture.format.sized.2d.rgb10_a2ui_pot
dEQP-GLES3.functional.texture.format.sized.3d.rgb10_a2ui_npot
dEQP-GLES3.functional.texture.format.sized.3d.rgb10_a2ui_pot
dEQP-GLES3.functional.texture.format.sized.cube.rgb10_a2ui_npot
dEQP-GLES3.functional.texture.format.sized.cube.rgb10_a2ui_pot
dEQP-GLES3.functional.texture.mipmap.cube.max_level.linear_nearest
dEQP-GLES3.functional.texture.specification.basic_teximage2d.rgb10_a2ui_2d
dEQP-GLES3.functional.texture.specification.basic_teximage2d.rgb10_a2ui_cube

View file

@ -189,7 +189,7 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = {
_T(B10G10R10X2_UNORM, 10_10_10_2_UNORM, R10G10B10A2_UNORM, WXYZ),
V_(R10G10B10A2_SNORM, 10_10_10_2_SNORM, NONE, WZYX),
V_(B10G10R10A2_SNORM, 10_10_10_2_SNORM, NONE, WXYZ),
V_(R10G10B10A2_UINT, 10_10_10_2_UINT, NONE, WZYX),
VT(R10G10B10A2_UINT, 10_10_10_2_UINT, NONE, WZYX),
V_(B10G10R10A2_UINT, 10_10_10_2_UINT, NONE, WXYZ),
V_(R10G10B10A2_USCALED, 10_10_10_2_UINT, NONE, WZYX),
V_(B10G10R10A2_USCALED, 10_10_10_2_UINT, NONE, WXYZ),