Skip to content

vrend, tex: Support fake multisample correctly

Gert Wollny requested to merge gerddie/virglrenderer:fix-fake-multisample into master

A texture is non-multisample when the nr_samples == 0, for the value 1 fake multisampling is assumed and a GL_TEXTURE_2D_MULTISAMPLE should be created.

Closes: #44 (closed)

Fixes dEQP tests that pass on the host when run with softpipe: dEQP-GLES31.functional.shaders.builtin_functions.texture_size. samples_1_texture_2d samples_1_texture_2d_array Pass -> Fail samples_1_texture_int_2d Pass -> Fail samples_1_texture_int_2d_array Pass -> Fail samples_1_texture_uint_2d Pass -> Fail samples_1_texture_uint_2d_array Pass -> Fail dEQP-GLES31.functional.texture.multisample.samples_1. sample_position use_texture_color_2d use_texture_color_2d_array use_texture_depth_2d use_texture_depth_2d_array use_texture_int_2d use_texture_int_2d_array use_texture_uint_2d use_texture_uint_2d_array

Signed-off-by: Gert Wollny

Edited by Gert Wollny

Merge request reports