support GL_ARB_texture_multisample extension.

This extension allows the use of "texelFetch" and "textureSize" with 2DMS sampler.
This commit is contained in:
jimihem 2023-12-29 07:38:39 +08:00 committed by GitHub
parent e17ecb0e80
commit 88c5373ee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 279 additions and 2 deletions

View file

@ -6281,7 +6281,7 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile, c
{
if ((ms || image) && shadow)
continue;
if (ms && profile != EEsProfile && version < 150)
if (ms && profile != EEsProfile && version < 140)
continue;
if (ms && image && profile == EEsProfile)
continue;