Can you debug RWTexture in VS graphics diagnostics?

Started by
-1 comments, last by ferhua 7 years, 1 month ago

hello guys,

I am using directx11 in vs2015, and I want to save data into texture3D.

everything works well before I adding the RWtexture3D part.

I just added following code in my .fx file


RWTexture3D<float4> gUAV	: register(u1);

PS_MAIN()
{
//---
//---
gUAV[uint3(x, y, z)] = float4(1.0f,1.0f,1.0f, 1.0f);
}

Then the graphics analyzer cant work! I dont know it's the problem of IDE or the problem of my code.

In my CPP code, I bind the texture3d to Unordered Access View, but not set Render Target.

I have checked the internet, someone have the same problem with me, but they are one or two years ago, far away from now.

Can you debug UAV or RWTexture in VS?

This topic is closed to new replies.

Advertisement