On Fri, Mar 3, 2017 at 10:51 AM, tournier.elie <tournier.e...@gmail.com> wrote: > On 3 March 2017 at 17:46, Eric Engestrom <eric.engest...@imgtec.com> wrote: >> On Friday, 2017-03-03 16:23:03 +0000, Elie Tournier wrote: >>> Signed-off-by: Elie Tournier <elie.tourn...@collabora.com> >>> --- >>> src/compiler/glsl/builtin_float64.h | 2558 >>> +++++++++++++++++++++++++++++++ >>> src/compiler/glsl/builtin_functions.cpp | 4 + >>> src/compiler/glsl/builtin_functions.h | 3 + >>> src/compiler/glsl/float64.glsl | 172 +++ >>> 4 files changed, 2737 insertions(+) >>> >>> diff --git a/src/compiler/glsl/builtin_float64.h >>> b/src/compiler/glsl/builtin_float64.h >>> index bf0953e5d6..0a363bd27a 100644 >>> --- a/src/compiler/glsl/builtin_float64.h >>> +++ b/src/compiler/glsl/builtin_float64.h >> [snip] >>> + >>> + /* THEN INSTRUCTIONS */ >>> + body.instructions = &f0EF9->then_instructions; >>> + >>> + ir_constant_data r0EFD_data; >>> + memset(&r0EFD_data, 0, sizeof(ir_constant_data)); >>> +r0EFD_data.u[0] = 4294967295; >>> +r0EFD_data.u[1] = 4294967295; >> >> Looks like some debug/testing left-overs? > > No. It's the IR representation of "return uvec2(0xFFFFFFFFu, 0xFFFFFFFFu);"
Ah, it just looks like debugging code because it's not indented properly. Looks like a bug in the compiler. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev