While investigating [Link Removed], I have found that GLSLBackend always automatically generates render target location indices, regardless of user-specified ones via SV_TargetX HLSL semantics.
Relevant code in ConfigureInOutVariableLayout:
else if (Semantic && FCStringAnsi::Strnicmp(Variable->name, "gl_", 3) != 0) { Variable->explicit_location = 1; Variable->semantic = ralloc_strdup(Variable, Semantic); if(Mode == ir_var_in) { Variable->location = ParseState->next_in_location_slot++; } else { Variable->location = ParseState->next_out_location_slot++; } }
N/A
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59334 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Target Fix | 4.20, 4.21 |
Created | May 18, 2018 |
---|---|
Resolved | Jun 14, 2018 |
Updated | Jun 23, 2018 |