Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2019.4

2020.3

2021.2

2022.1

2022.2

Issue ID

1399478

Regression

No

Problem with GetDimensions method HLSL -> GLSL conversion

Shader System

-

When using GetDimensions method in compute shader, it's being converted to length method for buffer with _buf postfix. But variable with this postfix remains undefined. And in any case length method cannot be applied uimageBuffer type.

  1. Resolution Note (fix version 2022.2):

    HLSLcc was translating typed buffer size queries wrong. Fix is incoming.

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.