mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Remove unused methods from GpuMathOperation & GpuSampleGatherOperation
Clear() methods are not used
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user