i had to mentioned SHADER_API_D3D11 because there’s no StructuredBuffer on DirectX9. I also excluded it from the project. But now when I loaded my project in Unity 2018.1.0b2. Its saying that _verticesOutput is undeclared which means SHADER_API_D3D11 is not defined. Please, tell me how to fix it.
i use #ifdef SHADER_API_D3D11 because otherwise compiler cant find StructuredBuffer type . Same with RWStructuredBuffer. Do you know how to fix it other way?