Commit cafefe9b authored by Gert Wollny's avatar Gert Wollny
Browse files

vrend: Signal support for fp16 on GLES



Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
parent 0e500645
Pipeline #619168 waiting for manual action with stages
......@@ -452,6 +452,7 @@ enum virgl_formats {
#define VIRGL_CAP_V2_IMPLICIT_MSAA (1 << 6)
#define VIRGL_CAP_V2_COPY_TRANSFER_BOTH_DIRECTIONS (1 << 7)
#define VIRGL_CAP_V2_SCANOUT_USES_GBM (1 << 8)
#define VIRGL_CAP_V2_SUPPORTS_FP16 (1 << 9)
/* virgl bind flags - these are compatible with mesa 10.5 gallium.
* but are fixed, no other should be passed to virgl either.
......
......@@ -11040,6 +11040,7 @@ static void vrend_renderer_fill_caps_v2(int gl_ver, int gles_ver, union virgl_c
/* We want to expose ARB_gpu_shader_fp64 when running on top of ES */
if (vrend_state.use_gles) {
caps->v2.capability_bits |= VIRGL_CAP_FAKE_FP64;
caps->v2.capability_bits_v2 |= VIRGL_CAP_V2_SUPPORTS_FP16;
}
if (has_feature(feat_indirect_draw))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment