Merge pull request #2609 from ZhiqianXia/Feature2

TextureOffset not support sampler2DArrayShadow sampler until 430.
This commit is contained in:
Greg Fischer 2021-04-19 12:03:05 -06:00 committed by GitHub
commit 60ce877de0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 86 additions and 0 deletions

View file

@ -115,6 +115,7 @@ struct TSampler { // misnomer now; includes images, textures without sampler,
#endif
bool is1D() const { return dim == Esd1D; }
bool is2D() const { return dim == Esd2D; }
bool isBuffer() const { return dim == EsdBuffer; }
bool isRect() const { return dim == EsdRect; }
bool isSubpass() const { return dim == EsdSubpass; }