On 4 December 2013 04:16, Tapani Pälli <tapani.pa...@intel.com> wrote:
> Data section helps serialization and cloning of a ir_variable. This > patch includes the helper bits used for read only ir_variables. > > Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> > I tried to build this patch (using commit 4d6cdb8 from your published tree), and I got the following compile errors: In file included from ../../src/glsl/glsl_parser_extras.cpp:39:0: ../../src/glsl/loop_analysis.h: In member function 'bool loop_variable::is_loop_constant() const': ../../src/glsl/loop_analysis.h:211:21: error: 'class ir_variable' has no member named 'read_only' assert(!this->var->read_only || (this->var->read_only && is_const)); ^ ../../src/glsl/loop_analysis.h:211:46: error: 'class ir_variable' has no member named 'read_only' assert(!this->var->read_only || (this->var->read_only && is_const)); ^ Makefile:1654: recipe for target 'glsl_parser_extras.lo' failed make[3]: *** [glsl_parser_extras.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... ../../src/glsl/ast_to_hir.cpp: In member function 'virtual ir_rvalue* ast_declarator_list::hir(exec_list*, _mesa_glsl_parse_state*)': ../../src/glsl/ast_to_hir.cpp:2869:13: error: 'class ast_declarator_list' has no member named 'data' assert(!this->data.invariant); ^ Makefile:1619: recipe for target 'ast_to_hir.lo' failed Fix these compile errors, and the patch is: Reviewed-by: Paul Berry <stereotype...@gmail.com>
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev