DirectX12 Compute Shader can’t assign desired value to UAV
There is a compute shader that i want to test, but i can’t get desired value. The format of uav is DXGI_FORMAT_R8G8B8A8_UNORM. I am sure the pipelinestate and rootsignture et have no problems. According to ChatGPT’s suggestion, I set the compute shader to “disable optimization” and “enable debugging mode” with version number cs_5_0,but it didn’t work.