D3DXCompileShaderFromFile() to D3DCompile()
I was used D3DXCompileShaderFromFile()
and it didn’t works, When I search about this, I found (I think) Microsoft recommends using D3DCompile()
instead of D3DXCompileShaderFromFile()
on this page, But I see their parameters are different, So how?
Reading/writing off the end of a buffer
What happens when you read and write off the end of a buffer in a hlsl shader?