KhronosGroup / KhronosGroup/glslang
HLSL/reflection: flattening/splitting loses semantic
Open
bug
HLSL
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
input "t.UV" doesn't have the TEXCOORD0 semantic qualifier
```
struct S2 {
float2 UV;
};
struct S {
S2 t : TEXCOORD0;
};
S main(S ins)
{
S s = ins;
return s;
}
```
Contributor guide
Research direction
Start by reproducing the HLSL example and inspect how reflection handles flattening and splitting nested structures. Verify why input "t.UV" loses the TEXCOORD0 semantic qualifier, and consider the issue complete when that qualifier is preserved.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100