Re: [Mesa-dev] [PATCH] glsl: fix lowering of UBO references of named blocks

2016-11-02 Thread Nicolai Hähnle
On 02.11.2016 15:46, Iago Toral wrote: On Mon, 2016-10-31 at 22:19 +0100, Nicolai Hähnle wrote: From: Nicolai Hähnle When a UBO reference has the form block_name.foo where block_name refers to a block where the first member has a non-zero offset, the base offset was incorrectly added to the re

Re: [Mesa-dev] [PATCH] glsl: fix lowering of UBO references of named blocks

2016-11-02 Thread Iago Toral
On Mon, 2016-10-31 at 22:19 +0100, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > When a UBO reference has the form block_name.foo where block_name > refers > to a block where the first member has a non-zero offset, the base > offset > was incorrectly added to the reference. The patch looks go

[Mesa-dev] [PATCH] glsl: fix lowering of UBO references of named blocks

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle When a UBO reference has the form block_name.foo where block_name refers to a block where the first member has a non-zero offset, the base offset was incorrectly added to the reference. Fixes an assertion triggered in debug builds by GL45-CTS.enhanced_layouts.uniform_block_l