Announcement

Collapse
No announcement yet.

Cleaning Up The R600 Gallium3D Driver

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Is it supposed to compile?

    Here's what I get (git HEAD + the two-line patch for RS780M/HD3200 Mobility):
    Code:
    make[4]: Entering directory `/mnt/mesa/src/gfx/mesa.git/src/glsl'
      CXX    builtin_function.lo
    builtin_function.cpp:6935:2: error: #error builtins profile 100_frag failed to compile
    builtin_function.cpp:6936:2: error: #error builtins profile 100_vert failed to compile
    builtin_function.cpp:9714:2: error: #error builtins profile 120_frag failed to compile
    builtin_function.cpp:9715:2: error: #error builtins profile 120_vert failed to compile
    builtin_function.cpp:9716:2: error: #error builtins profile 130_frag failed to compile
    builtin_function.cpp:9717:2: error: #error builtins profile 130_vert failed to compile
    builtin_function.cpp:10216:2: error: #error builtins profile EXT_texture_array_frag failed to compile
    builtin_function.cpp:10217:2: error: #error builtins profile EXT_texture_array_vert failed to compile
    builtin_function.cpp:10218:2: error: #error builtins profile OES_EGL_image_external_frag failed to compile
    builtin_function.cpp:10219:2: error: #error builtins profile OES_EGL_image_external_vert failed to compile
    builtin_function.cpp:10220:2: error: #error builtins profile OES_texture_3D_frag failed to compile
    builtin_function.cpp:10221:2: error: #error builtins profile OES_texture_3D_vert failed to compile
    builtin_function.cpp: In function 'void _mesa_glsl_initialize_functions(_mesa_glsl_parse_state*)':
    builtin_function.cpp:10267: error: 'prototypes_for_100_frag' was not declared in this scope
    builtin_function.cpp:10268: error: 'functions_for_100_frag' was not declared in this scope
    builtin_function.cpp:10274: error: 'prototypes_for_100_vert' was not declared in this scope
    builtin_function.cpp:10275: error: 'functions_for_100_vert' was not declared in this scope
    builtin_function.cpp:10295: error: 'prototypes_for_120_frag' was not declared in this scope
    builtin_function.cpp:10296: error: 'functions_for_120_frag' was not declared in this scope
    builtin_function.cpp:10302: error: 'prototypes_for_120_vert' was not declared in this scope
    builtin_function.cpp:10303: error: 'functions_for_120_vert' was not declared in this scope
    builtin_function.cpp:10309: error: 'prototypes_for_130_frag' was not declared in this scope
    builtin_function.cpp:10310: error: 'functions_for_130_frag' was not declared in this scope
    builtin_function.cpp:10316: error: 'prototypes_for_130_vert' was not declared in this scope
    builtin_function.cpp:10317: error: 'functions_for_130_vert' was not declared in this scope
    builtin_function.cpp:10351: error: 'prototypes_for_EXT_texture_array_frag' was not declared in this scope
    builtin_function.cpp:10352: error: 'functions_for_EXT_texture_array_frag' was not declared in this scope
    builtin_function.cpp:10358: error: 'prototypes_for_EXT_texture_array_vert' was not declared in this scope
    builtin_function.cpp:10359: error: 'functions_for_EXT_texture_array_vert' was not declared in this scope
    builtin_function.cpp:10365: error: 'prototypes_for_OES_EGL_image_external_frag' was not declared in this scope
    builtin_function.cpp:10366: error: 'functions_for_OES_EGL_image_external_frag' was not declared in this scope
    builtin_function.cpp:10372: error: 'prototypes_for_OES_EGL_image_external_vert' was not declared in this scope
    builtin_function.cpp:10373: error: 'functions_for_OES_EGL_image_external_vert' was not declared in this scope
    builtin_function.cpp:10379: error: 'prototypes_for_OES_texture_3D_frag' was not declared in this scope
    builtin_function.cpp:10380: error: 'functions_for_OES_texture_3D_frag' was not declared in this scope
    builtin_function.cpp:10386: error: 'prototypes_for_OES_texture_3D_vert' was not declared in this scope
    builtin_function.cpp:10387: error: 'functions_for_OES_texture_3D_vert' was not declared in this scope
    make[4]: *** [builtin_function.lo] Error 1
    I'm not sure where it broke, though.

    For those who don't dare to test:
    It's pretty easy to install to an alternate prefix, then set LD_LIBRARY_PATH and {LIB,E}GL_DRIVERS_PATH, then run your test programs.

    Comment

    Working...
    X