Stop logging alphatested draws for debug stats.
Measured a small perf hit here, and we're not really using these stats much anymore.
This commit is contained in:
parent
842ff4000f
commit
f982e777e5
3 changed files with 0 additions and 14 deletions
|
@ -257,11 +257,6 @@ void ComputeFragmentShaderID(ShaderID *id_out, uint32_t vertType) {
|
|||
id.SetBits(FS_BIT_REPLACE_ALPHA_WITH_STENCIL_TYPE, 4, ReplaceAlphaWithStencilType());
|
||||
}
|
||||
|
||||
if (enableAlphaTest)
|
||||
gpuStats.numAlphaTestedDraws++;
|
||||
else
|
||||
gpuStats.numNonAlphaTestedDraws++;
|
||||
|
||||
// 2 bits.
|
||||
id.SetBits(FS_BIT_REPLACE_LOGIC_OP_TYPE, 2, ReplaceLogicOpType());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue