From cf31969510d34f699ba87a5b6f6ce58d8c4e2c64 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Fri, 9 Jan 2015 00:33:11 -0800 Subject: [PATCH] Update comment on VGT_MIN/MAX_VTX_INDX. --- src/xenia/gpu/gl4/command_processor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index 907427790..203c6a000 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -2036,8 +2036,8 @@ CommandProcessor::UpdateStatus CommandProcessor::PopulateIndexBuffer() { SCOPE_profile_cpu_f("gpu"); #endif // FINE_GRAINED_DRAW_SCOPES - // Min/max index ranges. This is often [0g,FFFF|FFFFFF], but if it's not we - // can use it to do a glDrawRangeElements. + // Min/max index ranges for clamping. This is often [0g,FFFF|FFFFFF]. + // All indices should be clamped to [min,max]. May be a way to do this in GL. uint32_t min_index = regs[XE_GPU_REG_VGT_MIN_VTX_INDX].u32; uint32_t max_index = regs[XE_GPU_REG_VGT_MAX_VTX_INDX].u32; assert_true(min_index == 0);