summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)AuthorFilesLines
2013-01-13Remove hacks for static MakefilesMatt Turner37-168/+0
v2: Andreas Boll <andreas.boll.dev@gmail.com> - don't remove compatibility with scripts for the old build system v3: Andreas Boll <andreas.boll.dev@gmail.com> - remove more obsolete hacks v4: Andreas Boll <andreas.boll.dev@gmail.com> - add a previously removed TOP variable to fix vgapi build
2013-01-12scons: Update for xmlpool/options.h generation.José Fonseca3-0/+3
2013-01-12nv50/nvc0: Build codegen in nv50.Johannes Obermayr6-36/+45
This is required to make libnv50 independent of libnvc0.
2013-01-12winsys/sw/wayland: Fix build to properly use wayland cflagsPekka Vuorela1-1/+1
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59281 Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-01-11r600g: fix warnings for htile vaDave Airlie2-2/+2
This fixes a warning about mismatched types. Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-01-11r600g: texture buffer object + glsl 1.40 enable support (v2)Dave Airlie10-19/+373
This adds TBO support to r600g, and with GLSL 1.40 enabled, we now get 3.1 core profiles advertised for r600g. The r600/700 implementation is a bit different from the evergreen one, as r6/7 hw lacks vertex fetch swizzles. So we implement it by passing 5 constants per sampler to the shader, the shader uses the first 4 as masks for each component and the 5th as the alpha value to OR in. Now TXQ is also broken so we have to pass a constant for the buffer size, on evergreen we just pass this, on r6/7 we pass it as the 6th element in the const info buffer. v1.1: drop return as DDX doesn't use a texture type v2: add r600/700 support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-01-11r600g: uniform buffer object supportDave Airlie2-9/+49
This adds 12 more constant buffers for use as UBOs, along with adding relative constant fetching for 2D indices. This with GLSL 1.40 enabled passes all the same tests as softpipe on my evergreen system. Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-01-11r600: always export a position from vertex shaderDave Airlie1-0/+17
This fixes piglit glsl-1.40-tf-no-position from gpu hanging on my rv635 at least. Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-01-11targets/opencl: Link against libgallium.la instead of libgallium.aTom Stellard1-1/+1
2013-01-11drivers/radeon: Don't link against libgallium.laTom Stellard1-2/+1
This fixes several duplicate symbol errors. libllvmradeon is a simple helper library. If it requires symbols in other libraries, this should be taken care of by the gallium target that uses it (e.g. libr600.la)
2013-01-11targets/egl-static: fix link failure to libwayland-drmKnut Andre Tidemann1-1/+1
Fixes the following build error: CXXLD egl_gallium.la g++: error: ../../../../src/egl/wayland/wayland-drm/.libs/.libs/libwayland-drm.a: No such file or directory Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-01-11targets/dri-swrast: Force c++ linker in all cases.Johannes Obermayr1-8/+2
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59226 Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com> Tested-by: Vinson Lee <vlee@freedesktop.org>
2013-01-10llvmpipe: fix clearing integer color buffersRoland Scheidegger6-31/+89
We get int/uint clear color value in this case, and util_pack_color can't handle these formats at all (even if it could, float input color isn't what we want). Pass through the color union appropriately and handle the packing ourselves (as I couldn't think of a good generic util solution). This gets piglit fbo_integer_precision_clear and fbo_integer_readpixels_sint_uint from the ext_texture_integer test group from segfault to pass (which only leaves fbo-blending from that group not working). v2: fix up comments
2013-01-10gallivm: fix border color for integer texturesRoland Scheidegger1-0/+5
Need to bitcast the float border color (luckily we already get the color as int just disguised as float). Fixes piglit texwrap GL_EXT_texture_integer bordercolor. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-01-10gallivm: more integer texture format fetch fixesRoland Scheidegger6-35/+74
Change the texel type to int/uint instead of float throughout the sampling code which makes it easier to catch errors (as llvm will complain about wrong types if we mistakenly treat these values as real floats somewhere). This should also get things like e.g. sampler swizzles (for unused channels) right. This fixes piglit texture_integer_glsl130 test. Border color not working (crashing) yet. (These formats are not exposed yet in llvmpipe.) v2: couple cleanups according to José's comments Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-01-10Clean up .gitignore filesMatt Turner70-71/+0
2013-01-10Remove MESA_PIC_FLAGS macroMatt Turner3-7/+3
2013-01-10Remove gallium's unused Makefile.templateMatt Turner1-73/+0
2013-01-10Remove gallium targets' Makefile.{dri,vdpau,xorg,xvmc}Matt Turner4-338/+0
2013-01-10gallium/tests/unit: Convert to automakeAndreas Boll2-49/+34
2013-01-10gallium/tests/trivial: Convert to automakeAndreas Boll2-54/+34
2013-01-10targets/pipe-loader: Convert to automakeMatt Turner6-187/+177
C++ linking (controlled by the nodist_EXTRA idiom) is needed unconditionally for: nouveau (uses C++ in the driver) r300 (since LLVM is always required) radeonsi (since LLVM is always required) swrast (if builting LLVM pipe) and conditionally (depends whether LLVM is enabled) for i915 r600 vmwgfx and never needed for swrast (softpipe). Unfortunately, automake seems to *always* link with C++ if nodist_EXTRA is specified, even inside a false conditional. Not sure if this is a bug, but it does seem to be weird behavior. v2: Johannes Obermayr <johannesobermayr@gmx.de> - Fix some undefined symbols. v3: Johannes Obermayr <johannesobermayr@gmx.de> - Install pipe_* to $(libdir)/gallium-pipe. v4: Johannes Obermayr <johannesobermayr@gmx.de> - Build it only once on --enable-gallium-gbm / --enable-opencl.
2013-01-10targets/gbm: Convert to automakeMatt Turner3-41/+67
2013-01-10targets/egl-static: Convert to automakeMatt Turner3-215/+238
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system - Add missing Automake.inc v3: Johannes Obermayr <johannesobermayr@gmx.de> - Fix linking. v4: Andreas Boll <andreas.boll.dev@gmail.com> - Port changes from ff574d653b0731a324fd30324b0f211502219abf gallium/egl-static: Fix unresolved symbol 'clock_gettime'
2013-01-10targets/xa-vmwgfx: Convert to automakeMatt Turner4-121/+65
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xvmc-softpipe: Convert to automakeMatt Turner3-21/+73
v2: Andreas Boll <andreas.boll.dev@gmail.com> - add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xvmc-r600: Convert to automakeMatt Turner3-24/+75
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xvmc-r300: Convert to automakeMatt Turner3-25/+69
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xvmc-nouveau: Convert to automakeMatt Turner3-29/+70
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xorg-radeonsi: Convert to automakeMatt Turner3-24/+71
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xorg-r600: Convert to automakeMatt Turner3-24/+77
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xorg-r300: Convert to automakeMatt Turner3-25/+72
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xorg-nouveau: Convert to automakeMatt Turner4-32/+73
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/xorg-i915: Convert to automakeMatt Turner3-24/+77
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/vdpau-softpipe: Convert to automakeMatt Turner3-21/+73
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/vdpau-radeonsi: Convert to automakeMatt Turner3-30/+71
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/vdpau-r600: Convert to automakeMatt Turner3-24/+75
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/vdpau-r300: Convert to automakeMatt Turner3-28/+71
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/vdpau-nouveau: Convert to automakeMatt Turner3-30/+71
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/libgl-xlib: Convert to automakeMatt Turner3-117/+71
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-vmwgfx: Convert to automakeMatt Turner3-24/+78
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-swrast: Convert to automakeMatt Turner3-39/+79
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-radeonsi: Convert to automakeMatt Turner3-26/+72
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-r600: Convert to automakeMatt Turner3-26/+80
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-r300: Convert to automakeMatt Turner3-26/+72
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-nouveau: Convert to automakeMatt Turner3-28/+74
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10targets/dri-i915: Convert to automakeMatt Turner3-33/+82
v2: Andreas Boll <andreas.boll.dev@gmail.com> - Provide compatibility with scripts for the old Mesa build system
2013-01-10build: Update drivers/Makefile.am to use LTLIBRARIESMatt Turner1-10/+20
2013-01-10state_trackers/xvmc/test: Convert to automakeMatt Turner4-31/+25
2013-01-10state_trackers/xvmc: Convert to automakeMatt Turner3-14/+43