glsl: skip gl_ViewportIndex write if device does not support it

This commit is contained in:
ameerj 2021-06-02 00:48:49 -04:00
parent f4799e8fa1
commit 6577a63d36
5 changed files with 18 additions and 8 deletions

View file

@ -85,6 +85,7 @@ struct Profile {
bool support_derivative_control{};
bool support_gl_nv_gpu_shader_5{};
bool support_gl_amd_gpu_shader_half_float{};
bool support_gl_vertex_viewport_layer{};
bool warp_size_potentially_larger_than_guest{};