Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DenoiseCommon.hlsli:51 - Error X3701 vs_2_0 does not support indexing resources #3

Open
JustAndreww opened this issue Feb 1, 2019 · 1 comment

Comments

@JustAndreww
Copy link

JustAndreww commented Feb 1, 2019

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

@philcn
Copy link
Owner

philcn commented Mar 15, 2019

What's your graphics card?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants