[GPU] Fix variable shadowing for SV_SampleIndex semantic name

This commit is contained in:
Herman S.
2025-11-29 17:09:21 +09:00
committed by Radosław Gliński
parent 10bfc92d9a
commit f2554eb742

View File

@@ -2898,7 +2898,7 @@ void DxbcShaderTranslator::WriteInputSignature() {
// shading.
size_t sample_index_position = SIZE_MAX;
if (current_shader().memexport_eM_written() && IsSampleRate()) {
size_t sample_index_position = shader_object_.size();
sample_index_position = shader_object_.size();
shader_object_.resize(shader_object_.size() + kParameterDwords);
++parameter_count;
{