diff --git a/src/xenia/gpu/dxbc_shader_translator.h b/src/xenia/gpu/dxbc_shader_translator.h index 1fa39983a..a44bf02c0 100644 --- a/src/xenia/gpu/dxbc_shader_translator.h +++ b/src/xenia/gpu/dxbc_shader_translator.h @@ -584,7 +584,7 @@ class DxbcShaderTranslator : public ShaderTranslator { uint32_t f32_temp, uint32_t f32_temp_component, uint32_t temp_temp, uint32_t temp_temp_component, bool round_to_nearest_even, bool remap_from_0_to_0_5); - // Converts the 20e4 number in bits [f24_shift, f24_shift + 10) to a 32-bit + // Converts the 20e4 number in bits [f24_shift, f24_shift + 24) to a 32-bit // float. Two temporaries must be different, but one can be the same as the // source. The destination may be anything writable. If remap_to_0_to_0_5 is // true, 0...1 in float24 will be remaped to 0...0.5 in float32. diff --git a/src/xenia/gpu/spirv_shader_translator.h b/src/xenia/gpu/spirv_shader_translator.h index 2630cbb25..ebfe505d4 100644 --- a/src/xenia/gpu/spirv_shader_translator.h +++ b/src/xenia/gpu/spirv_shader_translator.h @@ -468,7 +468,7 @@ class SpirvShaderTranslator : public ShaderTranslator { bool round_to_nearest_even, bool remap_from_0_to_0_5, spv::Id ext_inst_glsl_std_450); - // Converts the 20e4 number in bits [f24_shift, f24_shift + 10) to a 32-bit + // Converts the 20e4 number in bits [f24_shift, f24_shift + 24) to a 32-bit // float. static spv::Id Depth20e4To32(SpirvBuilder& builder, spv::Id f24_uint_scalar, uint32_t f24_shift, bool remap_to_0_to_0_5,