summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add missing GL_UNSIGNED_INT_10F_11F_11F_REV caseBrian Paul2012-02-131-0/+9
| | | | | | in _mesa_error_check_format_and_type(). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=45967
* gallivm: Replace architecture test with PIPE_ARCH_*Stéphane Marchesin2012-02-121-4/+6
| | | | | | | | | | | | X86Target is a variable, and therefore isn't defined at compile time. So LLVM_NATIVE_ARCH == X86Target is translated into 0 == 0 and since X86 is first, we always pick it. Therefore we replace the logic with PIPE_ARCH_*. https://bugs.freedesktop.org/show_bug.cgi?id=45420
* i915g: Remove useless draw calls.Stéphane Marchesin2012-02-123-41/+2
|
* i915g: Add a way to profile the contents of command buffers.Stéphane Marchesin2012-02-121-0/+12
|
* i915g: Fix comments.Stéphane Marchesin2012-02-121-2/+2
|
* i915g: Don't emit state when it's already bound.Stéphane Marchesin2012-02-121-0/+32
|
* i915g: Remove unused poly stipple state.Stéphane Marchesin2012-02-122-54/+0
|
* i915g: Implement stipple with draw.Stéphane Marchesin2012-02-122-1/+5
|
* i915g: Fix comment.Stéphane Marchesin2012-02-121-1/+1
|
* i915g: Move ureg defines to the header so we can share them.Stéphane Marchesin2012-02-122-32/+32
|
* i915g: Separate declarations and program in the fragment program struct.Stéphane Marchesin2012-02-124-9/+31
| | | | We need this later to fixup fragment programs properly.
* st/mesa: only resolve if number of samples is > 1Dave Airlie2012-02-121-1/+2
| | | | | | | | | | Marek: this fixes a firefox crash and maybe even: https://bugs.freedesktop.org/show_bug.cgi?id=45943 NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* swrast: fix span color type selectionBrian Paul2012-02-123-9/+36
| | | | | | | | | | | | | | | | Fixes a regression from commit 660ed923ded3552e023ef8c3dd9f92e6792f1bd2. The basic idea is to look at the format of the dest renderbuffer and choose either GLubyte or GLfloat for colors. The previous code used _mesa_format_to_type_and_comps() which could return a bunch types other than ubyte/float. Determine the datatype at renderbuffer mapping time to avoid frequent calls to the format query functions. NOTE: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45578 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45577
* extensions: remove unused code.Dave Airlie2012-02-121-3/+0
| | | | | | Comparing an unsigned to < 0 is pointless. Signed-off-by: Dave Airlie <[email protected]>
* mesa/texparam: drop double semicolonsDave Airlie2012-02-121-12/+12
| | | | | | no idea where these came from, drop them. Signed-off-by: Dave Airlie <[email protected]>
* r300g: always fail to create a multisample resourceMarek Olšák2012-02-121-0/+3
| | | | Just to be safe.
* r300g: assert-fail when calling resource_resolveMarek Olšák2012-02-121-0/+3
| | | | And reset the dest pointer to NULL after it.
* gallium/xvmc: r300 and r600 now depend on libdrm_radeonAlex Deucher2012-02-112-2/+2
| | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45907 Signed-off-by: Alex Deucher <[email protected]>
* gallivm: Change getExtent and readByte to non-const with llvm-3.1.Vinson Lee2012-02-101-0/+8
| | | | | | | | | | | Fix build with llvm-3.1svn. llvm-3.1svn r149918 changed BufferMemoryObject::getExtent and BufferMemoryObject::readByte from const member functions to non-const member functions in include/llvm/Support/MemoryObject.h. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* i965: Fix border color on Ironlake.Kenneth Graunke2012-02-101-1/+1
| | | | | | | | | | | | | | | | | Ironlake appears to check our pointer against the General State Base Address upper bound, rather than ignoring the zero bound as it ought. Unfortunately, since we leave GSBA set to zero, there is no logical upper bound. Set it to the maximum possible value, which should work since our virtual addresses only go up to 2GB. +94 piglits. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28924 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* i965/fs: Add support for generating MADs.Eric Anholt2012-02-103-0/+56
| | | | | | | | | | | | | Improves nexuiz performance 0.65% +/- .10% (n=5) on my gen6, and .39% +/- .11% (n=10) on gen7. No statistically significant performance difference on warsow (n=5, but only one shader has MADs). v2: Add support for MADs in 16-wide by using compression control. v3: Don't generate MADs when it will force an immediate to be moved to a temp. (it's not clear whether this is a win or not, but it should result in less questionable change to codegen compared to v2). Reviewed-by: Kenneth Graunke <[email protected]> (v2)
* i965/fs: Add missing register allocation for 3rd sources.Eric Anholt2012-02-101-0/+2
| | | | | | | Our only instruction with a 3rd source so far was linterp, and that value was never register-allocated. Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Add support for the MAD opcode on gen6+.Eric Anholt2012-02-105-20/+342
| | | | | | v2: Fix MRF handling on gen7. Reviewed-by: Kenneth Graunke <[email protected]> (v1)
* Bump version to 8.1 (devel)Ian Romanick2012-02-102-2/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* radeon: build fix after 9d9111108eadd65708899284b1cfa9ca425f3ac8Alex Deucher2012-02-101-1/+1
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: 128 bit formats require tile_type = 1 on caymanAlex Deucher2012-02-101-0/+10
| | | | | | | | Noticed by taiu on IRC. Signed-off-by: Alex Deucher <[email protected]> Note: this is a candidate for the stable branches.
* r600g: fix tex tile_type offset for caymanAlex Deucher2012-02-102-1/+7
| | | | | | | | Noticed by taiu on IRC. Signed-off-by: Alex Deucher <[email protected]> Note: this is a candidate for the stable branches.
* st/wgl: refactor stw_pixelformat_init()Brian Paul2012-02-101-58/+51
| | | | Replace duplicated code with add_color_format_variants() helper.
* st/wgl: Properly support non-displayble pixel formats, and implement float ↵José Fonseca2012-02-106-16/+109
| | | | | | | | | | | | pixelformats as as one. WGL_ARB_pixel_format establishes the existence of pixel formats which are invisible to GDI. However we still need to pass a valid pixelformat to GDI, so that context creation/binding works. The actual WGL_TYPE_RGBA_FLOAT_ARB implementation is from Brian Paul.
* st/wgl: Invoke SetPixelFormat twice for pbuffers.José Fonseca2012-02-101-1/+2
|
* st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().José Fonseca2012-02-106-21/+26
| | | | Avoids the likely error of forgetting to subtract one.
* st/wgl: Fix argument of stw_pixelformat_get_info().José Fonseca2012-02-101-1/+1
| | | | | stw_pixelformat_get_info takes zero based index, not a 1 based pixel format number.
* mesa: remove unused gl_shared_state::DriverData fieldBrian Paul2012-02-101-2/+0
|
* docs: remove link to the GLSL compiler pageBrian Paul2012-02-101-1/+0
| | | | | The page is terribly out of date. (cherry picked from commit 65526d54aa2599b069bd443d3e6e9762e613042d)
* docs: add VMware linkBrian Paul2012-02-101-1/+2
| | | | (cherry picked from commit 6aa9ce2687637ee678fa4258eb9efa695fca8690)
* docs: update info about supported systems, GPUs, APIsBrian Paul2012-02-101-12/+56
| | | | | Add link to Intel's Linux graphics page, etc. (cherry picked from commit 14cf3dd826938f0a8a6f32a81c634ecc835f7319)
* docs: add news item for 8.0 releaseBrian Paul2012-02-101-0/+10
| | | | (cherry picked from commit 7aef839760d5216ec2a413092cae35fd223678a4)
* docs: Add 8.0 MD5 checksumsIan Romanick2012-02-101-1/+3
| | | | | Signed-off-by: Ian Romanick <[email protected]> (cherry picked from commit fb56b0972dad8921bc43e1eeb4eebf5e3550e213)
* mesa: fix proxy texture target initializationBrian Paul2012-02-101-7/+12
| | | | | | | | | | | The mapping from TEXTURE_x_INDEX to GL_TEXTURE_x was broken in alloc_proxy_textures() because the elements in the targets[] array were in the wrong order. This didn't actually cause any failures since we never really use the proxy texture's Target field. But let's get it right. NOTE: This is a candidate for the 8.0 branch.
* mesa: remove unused gl_pixelmap::Map8[] arrayBrian Paul2012-02-102-3/+0
| | | | Reviewed-by: Jose Fonseca <[email protected]>
* st/mesa: stop using Map8[] tables in load_color_map_texture()Brian Paul2012-02-101-5/+6
| | | | | | | | Use the float tables instead. Pixel maps are seldom used so this shouldn't be a big deal. Next, we can get rid of the gl_pixelmap::Map8 array. Reviewed-by: Jose Fonseca <[email protected]>
* mesa: remove unused _mesa_map_ci8_to_rgba8()Brian Paul2012-02-102-32/+0
| | | | Reviewed-by: Jose Fonseca <[email protected]>
* mesa: fix error handling in get_tex_rgba_compressed()Brian Paul2012-02-101-0/+2
|
* mesa: use _mesa_format_matches_format_and_type() in get_tex_memcpy()Brian Paul2012-02-101-41/+6
|
* mesa: push row stride adjustment down into _mesa_decompress_image()Brian Paul2012-02-102-12/+11
| | | | | | | There's a mismatch in row strides for compressed textures between what Driver.MapTextureImage() returns and what the software fetch-texel functions use. Move it down a layer. The next step would be to fix this in the fetch-texel functions.
* mesa: replace GET_SHINE_TAB_ENTRY() macro with an inline functionBrian Paul2012-02-103-37/+25
|
* mesa: make _mesa_invalidate_shine_table() staticBrian Paul2012-02-102-6/+9
|
* mesa: remove gl_light::_SpotExpTable fieldBrian Paul2012-02-106-68/+4
| | | | | | | Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
* meta: replace abort() with _mesa_problem()Brian Paul2012-02-101-1/+2
| | | | Reviewed-by: José Fonseca <[email protected]>
* mesa: fix comment typoBrian Paul2012-02-101-1/+1
|