summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: add upload manager support.Dave Airlie2010-09-176-47/+223
| | | | | | this add support for the upload manager for uploading user vbo/index buffers. this provides a considerable speedup in q3 type games.
* r600g: add winsys bo caching.Dave Airlie2010-09-174-31/+24
| | | | | | | this adds the bo caching layer and uses it for vertex/index/constant bos. ctx needs to take references on hw bos so the flushing works okay, also needs to flush the maps.
* r600g: add support for kernel boDave Airlie2010-09-1710-50/+352
| | | | this moves to using a pb bufmgr instead of kernel bos directly.
* r600g: use malloc bufmgr for constant buffersDave Airlie2010-09-173-1/+9
|
* r600g: move constant buffer creation behind winsys abstraction.Dave Airlie2010-09-1712-55/+65
| | | | this paves the way for moving to pb bufmgrs now.
* libgl-xlib: Remove unused st_api_create_OpenGL.Chia-I Wu2010-09-171-8/+0
| | | | st/egl no longer relies on libGL for OpenGL support.
* targets/egl: Use C++ compiler to link GL/ES state trackers.Chia-I Wu2010-09-171-3/+10
| | | | | Otherwise, applications compiled with C compiler might have trouble using them.
* tgsi/sse: fix aos_to_soa() loop to handle num_inputs==0Brian Paul2010-09-161-6/+9
| | | | | | | | | Basically, change the loop from: do {...} while (--num_inputs != 0) into: while (num_inputs != 0) { ... --num_inputs; } Fixes fd.o bug 29987.
* r600g: attempt to abstract kernel bos from pipe driver.Dave Airlie2010-09-1719-199/+272
| | | | | | introduce an abstraction layer between kernel bos and the winsys BOs. this is to allow plugging in pb manager with minimal disruption to pipe driver.
* r600g: hide radeon_ctx inside winsys.Dave Airlie2010-09-178-56/+42
| | | | no need for this info to be exported to pipe driver.
* gallivm: Remove unnecessary header.Vinson Lee2010-09-161-1/+0
|
* gallivm: fix wrong return value in bitwise functionsBrian Paul2010-09-161-3/+3
|
* gallivm: Clamp indirect register indices to file_max.José Fonseca2010-09-161-60/+71
| | | | Prevents crashes with bogus data, or bad shader translation.
* gallivm: Start collecting bitwise arithmetic helpers in a new module.José Fonseca2010-09-168-32/+263
|
* gallivm: Fix address register swizzle.José Fonseca2010-09-161-2/+1
| | | | | | | | | | We're actually doing a double swizzling: indirect_reg->Swizzle[indirect_reg->SwizzleX] instead of simply indirect_reg->SwizzleX
* r300g/swtcl: fix CS overrunMarek Olšák2010-09-162-8/+28
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=29901
* llvmpipe: add DEBUG_FS to dump variant informationKeith Whitwell2010-09-163-1/+3
|
* llvmpipe: add LP_PERF flag to disable various aspects of rasterizationKeith Whitwell2010-09-168-6/+90
| | | | | | | | Allows disabling various operations (mainly texture-related, but will grow) to try & identify bottlenecks. Unlike LP_DEBUG, this is active even in release builds - which is necessary for performance investigation.
* gallivm: make lp_build_sample_nop publicKeith Whitwell2010-09-162-6/+8
|
* gallivm: move i32_vec_type inside the #ifdefBrian Paul2010-09-161-1/+2
|
* gallivm: fix incorrect vector shuffle datatypeBrian Paul2010-09-161-1/+5
| | | | The permutation vector must always be a vector of int32 values.
* nv50: get shader fixups/relocations into working stateChristoph Bumiller2010-09-164-54/+79
|
* nv50: don't segfault on shaders with 0 instructionsChristoph Bumiller2010-09-161-1/+3
|
* r600g: Use clamped math for RCP and RSQ.Tilman Sauerbeck2010-09-161-2/+14
| | | | | | This is likely only correct for OpenGL and not other state trackers. Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Fixed a bo leak in r600_blit_state_ps_shader().Tilman Sauerbeck2010-09-161-1/+1
| | | | | | We would leak the newly created bo if it cannot be mapped. Signed-off-by: Tilman Sauerbeck <[email protected]>
* st/xlib: Notify the context when the front/back buffers are swapped.Chia-I Wu2010-09-163-4/+21
| | | | | | | | The current context should be notified when the the front/back buffers of the current drawable are swapped. The notification was skipped when xmesa_strict_invalidate is false (the default). This fixes fdo bug #29774.
* r600g: fix texture bos and avoid doing depth blit on evergreenDave Airlie2010-09-162-11/+4
| | | | since the depth blit code is hardcoded hex yay \o/
* r600g: fixup texture state on evergreen.Dave Airlie2010-09-164-143/+317
| | | | This whole set of state just seems wrong, another cut-n-paste nightmare.
* nv50: Fix 'control reaches end of non-void function' warning.Vinson Lee2010-09-151-0/+1
|
* nv50: Silence uninitialized variable warnings.Vinson Lee2010-09-151-1/+2
|
* draw: Remove unnecessary header.Vinson Lee2010-09-151-1/+0
|
* gallivm: Remove unnecessary headers.Vinson Lee2010-09-151-2/+0
|
* nv50: Silence uninitialized variable warning.Vinson Lee2010-09-151-1/+2
|
* nv50: Silence uninitialized variable warning.Vinson Lee2010-09-151-1/+1
|
* nv50: Silence uninitialized variable warning.Vinson Lee2010-09-151-0/+1
|
* nv50: Remove unnecessary headers.Vinson Lee2010-09-152-2/+0
|
* nv50: Update files in SConscript to match Makefile.Vinson Lee2010-09-151-1/+8
|
* r600g: add vgt dma src definesDave Airlie2010-09-162-3/+5
|
* r600g: use index min/max + index buffer offset.Dave Airlie2010-09-164-5/+14
| | | | more prep work for fixing up buffer handling
* r600g: pull r600_draw struct out into headerDave Airlie2010-09-164-72/+73
| | | | we need this for future buffer rework, it also makes the vtbl easier
* gallivm: expand AoS sampling to cover all filtering modesBrian Paul2010-09-157-1029/+1919
| | | | ...and all texture targets (1D/2D/3D/CUBE).
* tgsi: fix incorrect usage_mask for shadow tex instructionsBrian Paul2010-09-151-5/+6
| | | | | | The shadow versions of the texture targets use an extra component (Z) to express distance from light source to the fragment. Fixes the shadowtex demo with llvmpipe.
* nv50: use unsigned int for bitfields to silence warningsBrian Paul2010-09-152-16/+16
|
* llvmpipe: s/boolean/unsigned/ in bitfield to silence warningBrian Paul2010-09-151-2/+2
| | | | | Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change.
* llvmpipe: cast to silence warningBrian Paul2010-09-151-1/+1
|
* r600g: misc cleanupJohn Doe2010-09-157-46/+47
| | | | | | | Avoid using r600_screen structure to get ptr to radeon winsys structure. Signed-off-by: Jerome Glisse <[email protected]>
* Merge remote branch 'origin/nv50-compiler'Christoph Bumiller2010-09-1523-5020/+9082
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_class.h src/gallium/drivers/nv50/nv50_screen.c
| * nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNTChristoph Bumiller2010-09-152-2/+5
| |
| * nv50: improve and fix modifier folding optimizationChristoph Bumiller2010-09-154-26/+46
| | | | | | | | | | | | | | Execute before folding loads, because we don't check if it's legal in lower_mods. Ensure that a value's insn pointer is updated when transferring it to a different instruction.
| * nv50: consider address register in reload eliminationChristoph Bumiller2010-09-151-7/+11
| |