glsl: Conditionally use fine/coarse derivatives based on device support

This commit is contained in:
ameerj 2021-06-14 23:33:26 -04:00
parent 6eea88d614
commit 3b339fbbf6
4 changed files with 29 additions and 4 deletions

View file

@ -89,6 +89,7 @@ struct Profile {
bool support_gl_warp_intrinsics{};
bool support_gl_variable_aoffi{};
bool support_gl_sparse_textures{};
bool support_gl_derivative_control{};
bool warp_size_potentially_larger_than_guest{};