Search Issue Tracker

By Design

Votes

0

Found in

5.3.4f1

Issue ID

801760

Regression

No

Compiling Fixed function shader 'Shader error' is thrown: 'tex2D': no matching 2 parameter intrinsic function;

Shaders

-

Reproduction Steps:
1. Open User's project
2. Compile "Tinted-Rle-VertexCols" shader
3. Notice thrown error

Shader error in 'Tinted-Rle-VertexCols': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 104 (on d3d11)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING

The same behaviour on: d3d9, d3d11, d3d11_9x, gles3 and glcore.

Reproduced in versions: Unity 5.2.4f1, 5.3.4f1, 5.3.5p2, 5.4.0b20

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.