summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-12egl_dri2: Discard similar configsconfig-fixBenjamin Franzke1-4/+2
2011-05-12egl/dri2: Avoid unused static functions.José Fonseca1-1/+1
2011-05-12egl/dri2: Prevent uninitialized variable dereference.José Fonseca1-2/+5
2011-05-12egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵José Fonseca1-5/+7
dereference. Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-12egl: Fix int <-> ptr casts.José Fonseca4-5/+5
Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-12glu: Fix _GLUfuncptr typedef.zhigang gong1-1/+1
typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-05-12mesa: Fix GetVertexAttrib* inside display lists.José Fonseca1-3/+3
GetVertexAttrib*{,ARB} is no longer aliased to the NV calls. This fixes tracing yofrankie with apitrace, given it requires accurate results from GetVertexAttribiv*. NOTE: This is a candidate for the stable branches.
2011-05-11r300/compiler: Fix bug in rc_get_variables()Tom Stellard1-7/+11
Variables that share readers were not always being linked together. https://bugs.freedesktop.org/show_bug.cgi?id=36939
2011-05-11r300/compiler: Limit instructions to 3 source selectsTom Stellard4-39/+104
Some presubtract conversions were generating more than 3 source selects. https://bugs.freedesktop.org/show_bug.cgi?id=36527 Note: This is a candidate for the 7.10 branch.
2011-05-11r300/compiler: Add simple unit test frameworkTom Stellard7-0/+579
Plus three tests for rc_inst_can_use_presub()
2011-05-11r600g: fix flushes on rs780/rs880Alex Deucher1-1/+3
They need the same hack as rv670. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35312 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-11mesa: Don't append fog code for programs that don't output color.José Fonseca1-0/+6
Fixes fdo 36919. NOTE: This is a candidate for the stable branches. It should be cherry-picked to the sames branches that 3aa21f93dc1329c6f956277f2746c2a0bdae5446 was.
2011-05-10svga/drm: Implement svga_winsys_screen::get_hw_version.José Fonseca1-0/+14
2011-05-10st/wgl: Remove buggy assertion.José Fonseca1-2/+0
The assertion is wrong, now that state tracker can cope with a window with zero width or height.
2011-05-10nv50: fix mistake in pipe caps for pre-NVA0 cardsMaxim Levitsky1-0/+1
Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0.
2011-05-09ir_to_mesa: Emit TXD instruction.Kenneth Graunke1-2/+11
Mesa already supports this because of NV_fragment_program. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Marek Olšák <maraeo@gmail.com>
2011-05-09glsl: Add compiler support for ARB_shader_texture_lod.Kenneth Graunke6-0/+188
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Marek Olšák <maraeo@gmail.com>
2011-05-09mesa: Add ARB_shader_texture_lod to the extension list; off by default.Kenneth Graunke2-1/+2
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-05-09nv50/nvc0: make transfers aware of PIPE_TRANSFER_MAP_DIRECTLYMarcin Slusarz2-0/+6
If state tracker asked us to map resource directly and we can't do it (because of tiling), return NULL instead of doing full transfer - state tracker should handle it and fallback to some other method or repeat transfer without PIPE_TRANSFER_MAP_DIRECTLY. It greatly improves performance of xorg state tracker on nv50+, because its fallback (DFS/UTS) is much faster than full transfer.
2011-05-09r300/compiler: align memory allocations to 8-bytesMatt Turner1-1/+1
Eliminates unaligned accesses on strict architectures. Spotted by Jay Estabrook. Signed-off-by: Matt Turner <mattst88@gmail.com> NOTE: This is a candidate for the 7.10 branch.
2011-05-09r300g: unreference a zbuffer surface after decompressionMarek Olšák1-0/+2
2011-05-09r300g: remove redundant state variable hyperz_lockedMarek Olšák5-14/+12
2011-05-09mesa: document instructions ir_to_mesa emitsMarek Olšák1-14/+14
GLSL stopped using: BRA, EXP, LOG, LRP, NRM3, NRM4, XPD. GLSL started using: KIL, SCS, SSG, SWZ. (omg why SWZ? isn't proc_src_register flexible enough?) GLSL doesn't use these opcodes some Radeons do support: ARR, DP2A, DST, LRP, XPD. These opcodes are now unused: AND, NOT, NRM3, NRM4, OR, XOR. (plus maybe the NV extensions which are unused by Gallium) In addition to that, we don't use two-dimensional indirect addressing, which the Mesa IR can do.
2011-05-09r300c: Fix up for register allocator rewrite.Michel Dänzer2-0/+2
Was broken by commit fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 ('r300/compiler: Rewrite register allocator').
2011-05-09r600g: anisotropic filtering support for evergreen hwJerome Glisse5-23/+31
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-05-09r600g: add support for anisotropic filteringCarl-Philip Haensch2-3/+26
2011-05-09gallium: Factor out unknown endianness detection.Michel Dänzer1-2/+4
2011-05-09Don't allow compilation if endianness isn't knownMatt Turner1-1/+1
PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-05-09p_config.h: Rely on glibc endianness definitions when availableMatt Turner1-0/+12
Suggested by Julien Cristau. Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-05-09st/xorg: add some debugging messages to xorg_exa.cMarcin Slusarz1-1/+15
2011-05-09st/xorg: remove DEBUG_PRINT macro and add exa_debug_printfMarcin Slusarz1-30/+29
Localizes preprocessor usage to one place.
2011-05-09st/xorg: fix compilation of xorg_exa.c with DEBUG_PRINT set to 1Marcin Slusarz1-7/+5
2011-05-08cell: fix unbalanced parenthesisNicolas Kaiser1-1/+1
Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-05-06mesa: add precision to M_PI constantMatt Turner1-1/+1
Value found in my math.h header. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-05-06mesa: replace ONE_DIV_LN2 constant with M_LOG2EMatt Turner2-5/+1
1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-05-07r300/compiler: implement TXD and TXL opcodesMarek Olšák5-0/+52
2011-05-07r300g: handle seamless_cube_map capsMarek Olšák1-0/+2
2011-05-06egl/wayland: Follow wl_resource_destroy changesBenjamin Franzke1-1/+1
2011-05-06nv50,nvc0: activate seamless cube map filteringChristoph Bumiller3-1/+44
2011-05-06docs: update relnotes-7.11Marek Olšák1-0/+5
2011-05-06docs: update GL3 statusMarek Olšák1-1/+1
2011-05-06r600g: implement seamless_cube_map for evergreenMarek Olšák3-0/+15
The r600/r700 support will follow soon.
2011-05-06gallium: implement seamless cubemap extensionsMarek Olšák5-0/+18
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-05-06mesa: handle TEXTURE_CUBE_MAP_SEAMLESS in SamplerParameterMarek Olšák1-0/+37
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-05-06mesa: implement AMD_seamless_cubemap_per_textureMarek Olšák5-0/+58
2011-05-06r600g: avoid recursion in rv670 flush workaroundAlex Deucher1-2/+7
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=36914 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-06gallium/xorg st/nv50: add PIPE_BIND_CURSORMarcin Slusarz3-2/+12
We need to distinguish surfaces for mouse cursors from scanouts, because nv50 hardware display engine ignores tiling flags.
2011-05-06Add pci id for FirePro 2270Kostas Georgiou4-0/+4
Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
2011-05-06egl_dri2: add new radeon pci idsAlex Deucher1-0/+6
There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-06egl: Add a cursor use bit to MESA_drm_imageKristian Høgsberg5-9/+26