summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r300g: consolidate deducing chipset infoMarek Olšák2011-06-074-392/+107
| | | | Use the new PCI ID table, make it simpler.
* r600g: add missing r300 familiesMarek Olšák2011-06-071-0/+5
| | | | Wondering why r600g needs to include r300_pci_ids.h
* r300g: Remove is_r3xxBenjamin Franzke2011-06-073-215/+9
| | | | | | Use r300_pci_ids.h instead. Reviewed-by: Alex Deucher <[email protected]>
* r600g: Use radeon pciid list for the family lookup tableBenjamin Franzke2011-06-072-481/+6
| | | | Reviewed-by: Alex Deucher <[email protected]>
* targets/egl: Support driver name lookup using pci listsBenjamin Franzke2011-06-073-71/+83
| | | | | | Make use of this in drm and wayland st/egl backends. Reviewed-by: Alex Deucher <[email protected]>
* tgsi: s/varient/variant/Brian Paul2011-06-071-2/+2
|
* draw: rename draw_vs_varient.c to draw_vs_variant.cBrian Paul2011-06-073-2/+2
|
* draw/llvm: whitespace, formatting fixesBrian Paul2011-06-071-38/+51
|
* draw: s/1/TRUE/Brian Paul2011-06-071-2/+2
|
* Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaStéphane Marchesin2011-06-068-373/+430
|\
| * r600g: optimise the draw emission packets for r600/egDave Airlie2011-06-072-30/+37
| | | | | | | | | | | | This just reduces code size a bit for this chunk. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: use an enabled list to track enabled blocks.Dave Airlie2011-06-074-35/+56
| | | | | | | | | | | | | | | | At the end of flushing we were scanning over 450 blocks with generally about 50 enabled. This reduces the scanning to just the list of enabled blocks. Signed-off-by: Dave Airlie <[email protected]>
| * r600g/winsys: overhaul resource range/blocks.Dave Airlie2011-06-074-65/+110
| | | | | | | | | | | | | | There isn't much point taking the overhead of range/block lookups on resources we aren't going to be getting resource registers at wierd offsets. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: split out block initDave Airlie2011-06-071-46/+55
| | | | | | | | | | | | | | This just splits this function up as pre-cursor to reusing the internals of it. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: move resource setting to its own structures.Dave Airlie2011-06-078-172/+140
| | | | | | | | | | | | | | | | | | resource setting could be a fair bit more lightweight, this patch just separates the resource structs from the standard reg tracking structs in the driver, later patches will improve the winsys. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: only call bo loop if nbos is positive.Dave Airlie2011-06-071-17/+19
| | | | | | | | | | | | | | | | we don't need to loop over all the registers unless we have some bos in the block, also avoid setting the ctx flags, and move the optional stuff down below this chunk. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: don't need to call the packet dirty function if not dirty.Dave Airlie2011-06-072-11/+16
| | | | | | | | | | | | also fix a unneeded dirty check and add a dirty check speedup. Signed-off-by: Dave Airlie <[email protected]>
* | i915g: Do generic remapping.Stéphane Marchesin2011-06-063-92/+119
|/ | | | | | With complex shaders there are often "holes" in the fs inputs, and we only have 8 tex coorsd to map those to. To fix this, we remap fs inputs to [0..8]. This lets us to run many more GLSL programs.
* i915g: implement more opcodes.Stéphane Marchesin2011-06-061-12/+82
|
* i915g: implement TGSI_OPCODE_SEQ.Stéphane Marchesin2011-06-061-0/+28
|
* i915g: handle varyings properly.Stéphane Marchesin2011-06-062-9/+27
|
* i915g: add missing and unsupported PIPE_CAPs to avoid debug messages.Stéphane Marchesin2011-06-061-0/+5
|
* Gallium: fix indentation in u_blitter.cStéphane Marchesin2011-06-061-1/+1
|
* i915g: don't destroy a texture buffer if it's NULL.Stéphane Marchesin2011-06-061-1/+2
|
* llvmpipe: use $(CXX) instead of g++ for linking.Stéphane Marchesin2011-06-061-1/+1
| | | | This allows setting the path to the C++ compiler.
* softpipe: Anisotropic filtering extension.Andreas Faenger2011-06-062-6/+336
| | | | | | | Reference implementation which produces high quality renderings. Based on Higher Quality Elliptical Weighted Avarage Filter (EWA). Signed-off-by: Brian Paul <[email protected]>
* util: add \n to debug_checkpoint_fullMarcin Slusarz2011-06-061-1/+1
| | | | Signed-off-by: José Fonseca <[email protected]>
* nv50: fix nv50_sampler_state_delete array overflowMarcin Slusarz2011-06-061-1/+1
| | | | num_samplers is array of 3 elements, not 5
* r600g: move spi update to only when states change.Dave Airlie2011-06-031-2/+9
| | | | | | | This updates the spi state after ps/vs binding or rasteriser state change. Signed-off-by: Dave Airlie <[email protected]>
* cso: move cso hashes to a more table driven schemeDave Airlie2011-06-032-84/+21
| | | | | | this removes a bad branch pain in the hash table lookup fn. Signed-off-by: Dave Airlie <[email protected]>
* u_prim: convert u_trim_pipe_prim to table driven.Dave Airlie2011-06-031-47/+24
| | | | | | | | This makes this function not be an always miss for the branch predictor. Noticed using cachegrind, makes a minor difference to gears numbers on r600g. Signed-off-by: Dave Airlie <[email protected]>
* r600g: make conv pipe prim table driven.Dave Airlie2011-06-031-32/+20
| | | | | | | This is a lot more branch predictor friendly, it actually showed up in cachegrind profiles. Signed-off-by: Dave Airlie <[email protected]>
* dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr2011-06-021-1/+1
| | | | | | | | | - Based on the work of Себастьян Gliţa Κατινα <[email protected]> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <[email protected]>
* r600g: sampler and texture state doesn't need a range/block.Dave Airlie2011-06-034-34/+50
| | | | | | | | | These are handled separately in the winsys, so don't need the calculations done at this point. this manifested as a crash in point-sprite, Thanks to XoD on #radeon for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
* softpipe: add a better fake implementation of fencesMarek Olšák2011-06-022-6/+5
| | | | | | | | | | The flush function, when asked for, should not return a NULL fence. NULL can only be returned if fences are not implemented, and st/mesa doesn't call any of the fence functions if it receives a NULL fence (because some drivers don't even set the fence hooks). ARB_sync is exposed if fence_finish is set.
* util: faster logbase2Brian Paul2011-06-021-4/+7
|
* d3d1x/sm4: don't reset 1st index of multi-dimensional operands to 0Christoph Bumiller2011-06-021-1/+1
|
* d3d1x/sm4: fix swizzle for 1 component operandsChristoph Bumiller2011-06-021-0/+1
| | | | | For example, "mov o0.w, l(1)" would use imm_values[3], which is not valid.
* r600g: add spi state and move spi/vgt to modify registerDave Airlie2011-06-022-16/+35
| | | | | | | | | This modifies the VGT state and move the SPI setup to its own discrete state. It then just sets the SPI state up and the VGT state up once and modifies them thereafter. Signed-off-by: Dave Airlie <[email protected]>
* r600g: decrease CPU time on set buffer resourcesDave Airlie2011-06-025-24/+92
| | | | | | | | This splits the initialisation and the setting of values in the resource buffers. We only should end up initialising once and updateing with new values when needed. Signed-off-by: Dave Airlie <[email protected]>
* r600g: work out range/block etc at state build time.Dave Airlie2011-06-023-10/+17
| | | | | | | | This moves the overhead of working out the range/block to state build time, it also allows the compiler to use constants for a lot of things instead of working them out each time. Signed-off-by: Dave Airlie <[email protected]>
* r600g: deinline r600_pipe_state_add_reg.Dave Airlie2011-06-022-12/+17
| | | | | | | This is going to get too big to be a forced inline. Also going to remove it from some hotpaths. Signed-off-by: Dave Airlie <[email protected]>
* r600g: prepare for passing ctx into _r600_pipe_state_add_regDave Airlie2011-06-025-18/+37
| | | | | | | | This moves the functions down the file, and also adds a ctx parameter. This is precursor patch just moving stuff around and getting it ready. Signed-off-by: Dave Airlie <[email protected]>
* r600g: migrate macros from r600_priv.h to r600.hDave Airlie2011-06-022-10/+11
| | | | | | this is just an precursor change for some later patches. Signed-off-by: Dave Airlie <[email protected]>
* r600g: remote ctx arg to block/range macros.Dave Airlie2011-06-023-24/+24
| | | | | | These aren't used anymore. Signed-off-by: Dave Airlie <[email protected]>
* r600g: avoid copying unnecessary pieces of a block.Dave Airlie2011-06-021-11/+20
| | | | | | | This just avoids copying stuff if its going to modify the number of dwords later anyways. Signed-off-by: Dave Airlie <[email protected]>
* r600g: optimise state setting in r600_draw_vbo.Dave Airlie2011-06-022-11/+21
| | | | | | | This drop the r600_draw_vbo CPU usage on a run of nexuiz from 1.40% to 0.72% in sysprof for me on my Fusion APU. Signed-off-by: Dave Airlie <[email protected]>
* r600g: force new evergreen blocks for large range.Dave Airlie2011-06-021-0/+3
| | | | | | | This range was 76 dwords long, the 75th dword changes, the first 60 or so don't. split the block so it emits less often. Signed-off-by: Dave Airlie <[email protected]>
* r300g: remove unused debug option DBG_UPLOADMarek Olšák2011-06-012-15/+11
| | | | And renumber the options.
* r600g: add llano supportAlex Deucher2011-05-316-0/+65
| | | | Signed-off-by: Alex Deucher <[email protected]>