Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2017.1.X, 2017.3.X, 2018.1.X

Votes

0

Found in

2017.1.0p1

Issue ID

938614

Regression

No

When changing graphics API to OpenGL a compute shader with the imageSize() function throws the errors

Shaders

-

Steps to reproduce:
1. Open the attached project
2. Select NewComputeShader.compute
3. Observe the error in the Console Window:
NVIDIA GPU:
GLSL compilation failed:
0(38) : error C1009: "xzww" is not member of struct "iimage2D1x32_bindless"

AMD GPU:
GLSL compilation failed:
Compute shader failed to compile with the following errors:
WARNING: 0:38: warning(#153) Field selection requires structure, vector, or matrix on left hand side: xzww
ERROR: 0:38: error(#216) Vector field selection out of range "xzww"
ERROR: error(#273) 1 compilation errors. No code generated

Note:
Reproducible with OpenGLCore and OpenGLES3

Actual result: No error should be thrown
Expected result: Editor throws the error

Reproduced with: 5.5.4p2, 5.6.3f1 , 2017.1.0p3, 2017.2.0b6, 2017.3.0a3

Fixed in: 2018.2.0a1
Backported to: 2017.3.1p4, 2018.1.0b7

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.