Bug 83679 - [regression] build failure in Mesa 10.2 error: 'consts' undeclared (first use in this function)
Summary: [regression] build failure in Mesa 10.2 error: 'consts' undeclared (first use...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: 10.2
Hardware: Other All
: medium major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-09 15:48 UTC by U. Artie Eoff
Modified: 2014-09-09 20:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description U. Artie Eoff 2014-09-09 15:48:26 UTC
main/context.c: In function '_mesa_init_constants':
main/context.c:651:4: error: 'consts' undeclared (first use in this function)
consts->UniformBooleanTrue = FLT_AS_UINT(1.0f);
^
main/context.c:651:4: note: each undeclared identifier is reported only once for each function it appears in
gmake[4]: *** [context.lo] Error 1

Bad commit is:

commit af50ae73f01bebc312555c49e49e33cbfbaf56e3
Author:     Marek Olšák <marek.olsak@amd.com>
AuthorDate: Thu Sep 4 15:03:31 2014 +0200
Commit:     Emil Velikov <emil.l.velikov@gmail.com>
CommitDate: Mon Sep 8 16:37:40 2014 +0100

    mesa: set UniformBooleanTrue = 1.0f by default
    
    because NativeIntegers is 0 by default.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82882
    
    Cc: 10.2 10.3 mesa-stable@lists.freedesktop.org
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    (cherry picked from commit d67db73458c8d66861b97675660289a9555695ce)
Comment 1 Emil Velikov 2014-09-09 20:33:47 UTC
Pardon for the breakage. I've amended the issues and force pushed 10.2.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.