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

@ -159,6 +159,7 @@ public:
bool uses_y_direction{};
bool uses_cc_carry{};
bool supports_viewport_layer{};
private:
void SetupExtensions(std::string& header);