HLSL: handle PCF input to DS in arbitrary argument position
In the hull shader, the PCF output does not participate in an argument list, so has no defined ordering. It is always put at the end of the linkage. That means the DS input reading PCF data must be be at the end of the DS linkage as well, no matter where it may appear in the argument list. This change makes sure that happens. The detection is by looking for arguments that contain tessellation factor builtins, even as a struct member. The whole struct is taken as the PCF output if any members are so qualified.
Showing
- Test/baseResults/hlsl.domain.2.tese.out 418 additions, 0 deletionsTest/baseResults/hlsl.domain.2.tese.out
- Test/hlsl.domain.2.tese 35 additions, 0 deletionsTest/hlsl.domain.2.tese
- gtests/Hlsl.FromFile.cpp 1 addition, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslParseHelper.cpp 22 additions, 1 deletionhlsl/hlslParseHelper.cpp
Loading
Please register or sign in to comment