Remove unused methods from GpuMathOperation & GpuSampleGatherOperation

Clear() methods are not used
This commit is contained in:
Jake Turner
2025-09-29 17:04:02 +01:00
parent 8864a1d81e
commit c03b2e2fb0
@@ -222,13 +222,6 @@ private:
struct GpuMathOperation
{
void Clear()
{
workgroupIndex = 0;
op = GLSLstd450::Invalid;
paramVars.clear();
result = NULL;
}
uint32_t workgroupIndex;
GLSLstd450 op;
rdcarray<ShaderVariable> paramVars;
@@ -237,18 +230,6 @@ struct GpuMathOperation
struct GpuSampleGatherOperation
{
void Clear()
{
workgroupIndex = 0;
opcode = Op::Max;
texType = DebugAPIWrapper::TextureType::Float_Texture;
imageBind = ShaderBindIndex();
samplerBind = ShaderBindIndex();
uv = ddxCalc = ddyCalc = compare = ShaderVariable();
gatherChannel = GatherChannel::Red;
operands.setNone();
result = NULL;
}
uint32_t workgroupIndex;
Op opcode;
DebugAPIWrapper::TextureType texType;