You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing textual information (comments section) about WaveSize range syntax / kDxilRangedWaveSizeTag in SM6.8 shaders #6813
Description
DXC outputs textual information about the WaveSize / kDxilWaveSizeTag in the comments section in the beginning, when present in SM6.6+ shaders. This does not happen when using the WaveSize range syntax / kDxilRangedWaveSizeTag in SM6.8+ shaders.
Steps to Reproduce
// -T cs_6_8 -E main
Buffer<float4> input : register(t0);
RWBuffer<float4> output : register(u0);
#if 0
// output as expected
// ; Compute Shader
// ; NumThreads=(8,1,1)
// ; WaveSize=32
[WaveSize(32)]
#else
// no output, just
// ; Compute Shader
// ; NumThreads=(8,1,1)
[WaveSize(16, 32, 16)]
#endif
[numthreads(8, 1, 1)]
void main(
in uint3 Gid : SV_GroupID,
in uint3 DTid : SV_DispatchThreadID,
in uint3 GTid : SV_GroupThreadID,
in uint GIdx : SV_GroupIndex)
{
const uint address = DTid.x;
const float4 val = input[address];
output[address] = val;
}
Activity
damyanp commentedon Jan 8, 2025
6_8 style shows:
6_6 style shows:
The preferred wavesize value is not there in the 6_8 version. This is because the PSV0 data doesn't actually store the preferred size value.
The request here is to really include a pretty printer for the entry point metadata.
Given this, reprioritizing to "dormant" as we're unlikely to address this in DXC.
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to 5c60…
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to 5c60…
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to fb13…