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:
Unknown W. Brackets 2015-12-30 10:24:54 -08:00
parent 842ff4000f
commit f982e777e5
3 changed files with 0 additions and 14 deletions

View file

@ -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());