Initial support for integer format textures.

They can't be rendered to and ImageData can't use the formats, for now.
This commit is contained in:
Alex Szpakowski
2021-08-12 16:38:54 -03:00
parent 4caeb27047
commit 48b3a4e860
11 changed files with 502 additions and 252 deletions
+3 -3
View File
@@ -131,9 +131,9 @@ public:
};
UniformType baseType;
Access access;
DataBaseType dataBaseType;
TextureType textureType;
DataBaseType texelBufferType;
Access access;
bool isDepthSampler;
size_t bufferStride;
size_t bufferMemberCount;
@@ -221,7 +221,7 @@ public:
**/
virtual void setVideoTextures(Texture *ytexture, Texture *cbtexture, Texture *crtexture) = 0;
TextureType getMainTextureType() const;
const UniformInfo *getMainTextureInfo() const;
void validateDrawState(PrimitiveType primtype, Texture *maintexture) const;
void getLocalThreadgroupSize(int *x, int *y, int *z);