I am pretty new to graphics programming using DX12. I was testing out my skills by building a shader to add 2 buffers and put the result in an output buffer. I have written this code in ComputeShader.hlsl however when i tried to invoke it using the following, i get an error sayin file not foundThrowIfFailed(D3DCompileFromFile(GetAssetFullPath(LComputeShader.hlsl).c_str(), nullptr, nullptr, main, cs_5_0, compileFlags, 0, &computeShader_madhu, nullptr));Is there something that I am doing wrong?
DX12- hlsl code invoking
directx