formats: Disable ASTC on GL hosts

For GL hosts CopyImageSubData and TextureView are not defined
when ASTC textures are involved, and the copy fallback currently
doesn't handle these formats correctly. Since Gallium can handles
ASTC texures transparetly in the guest, host support is not really
required to be able to use it.

Fixes all tests out of
  dEQP-GLES32.functional.copy_image*astc*
that were failing on the llvmpipe GL host before

Related #224

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
macos/master
Gert Wollny 3 years ago
parent 7ccaf0a459
commit 4df8880735
  1. 6132
      ci/previous_results/gl_host_llvmpipe/deqp_gles31/results.txt
  2. 2
      src/vrend_formats.c

File diff suppressed because it is too large Load Diff

@ -586,7 +586,6 @@ void vrend_build_format_list_common(void)
/* compressed */
add_formats(etc2_formats);
add_formats(astc_formats);
add_formats(rgtc_formats);
add_formats(dxtn_formats);
add_formats(dxtn_srgb_formats);
@ -627,6 +626,7 @@ void vrend_build_format_list_gles(void)
*/
add_formats(gles_z32_format);
add_formats(gles_bit10_formats);
add_formats(astc_formats);
}
void vrend_build_emulated_format_list_gles(void)

Loading…
Cancel
Save