DXRExperiments
DXRExperiments copied to clipboard
DenoiseCommon.hlsli:51 - Error X3701 vs_2_0 does not support indexing resources
How to get rid of this error?
[numthreads(GROUP_SIZE_X, GROUP_SIZE_Y, 1)]
void main(uint3 dispatchID : SV_DispatchThreadID, uint3 threadID : SV_GroupThreadID, uint3 groupID : SV_GroupID)
{
float3 color;
if (gDebugVisualize == 2) {
color = gInput[dispatchID.xy].rgb; // error
} else {
color = filterKernel(gMaxKernelSize, float(gMaxKernelSize), dispatchID.xy, gInput, gDirectLighting, threadID.xy, dispatchID.xy).rgb;
}
I'm using VS2017 + Windows SDK 10.0.17763.0
What's your graphics card?