Shader:getLocalThreadgroupSize;

This commit is contained in:
bjorn
2021-06-05 18:59:02 -06:00
committed by bjorn
parent 25fbf1d8ce
commit b28e61d00d
3 changed files with 48 additions and 5 deletions
+3
View File
@@ -216,6 +216,8 @@ public:
TextureType getMainTextureType() const;
void validateDrawState(PrimitiveType primtype, Texture *maintexture) const;
void getLocalThreadgroupSize(int *x, int *y, int *z);
static SourceInfo getSourceInfo(const std::string &src);
static std::string createShaderStageCode(Graphics *gfx, ShaderStageType stage, const std::string &code, const SourceInfo &info);
@@ -243,6 +245,7 @@ protected:
struct ValidationReflection
{
std::map<std::string, BufferReflection> storageBuffers;
int localThreadgroupSize[3];
bool usesPointSize;
};