Search Issue Tracker

By Design

Votes

0

Found in

2018.1.0a1

2018.1.0b2

Issue ID

987193

Regression

No

SHADER_API_D3D11 is nolonger correctly defined across the shader source

Shaders

-

How to reproduce:
1. Create new empty project
2. Download attached shader and drag to Assets folder
3. Check the error

Actual result: Shader that takes in triangles from a compute buffer and renders them directly via a dummy mesh. On 2017.3 it works perfectly fine, but on 2018.1 it fails to compile with the pragma block being 'missing', but if you were to remove the pragma it fails to compile anyway

Reproduced with: 2018.1.0b3
Not reproduced with: 2017.3.0p2, 2017.2.1p2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.