summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: introduce r600_bc_src_set_abs helper and fix LOGVadim Girlin2011-07-081-8/+18
| | | | | | LOG instruction should use absolute values of source operand. Signed-off-by: Vadim Girlin <[email protected]>
* r600g: RSQ: clear NEG for operandVadim Girlin2011-07-081-0/+1
| | | | | | | Need to clear NEG bit because it applies after ABS, e.g. "RSQ ..., -1" uses -|1| as operand. Signed-off-by: Vadim Girlin <[email protected]>
* r600g: LIT: swap MUL_LIT operands to fix 0^0Vadim Girlin2011-07-081-6/+5
| | | | | | | | | | For 0^0 case result of "LOG_CLAMPED ...,0" is -MAX_FLOAT, and then result of "MUL_LIT ...,0,-MAX_FLOAT,..." is -MAX_FLOAT instead of 0 because of special src1 checks for -MAX_FLOAT. So swap src0/1: "MUL_LIT ...,-MAX_FLOAT,0,..." to get expected 0, then result of "EXP_IEEE ...,0" is 1 as expected for LIT. Signed-off-by: Vadim Girlin <[email protected]>
* gallivm: Fix build with llvm-3.0Gustaw Smolarczyk2011-07-081-9/+7
| | | | | | | | | | LLVM 3.0svn changes pretty rapidly. The change in Target->createMCInstPrinter() signature which inspired commits 40ae214067673edbda79371969d1730b6194d83e and 92e29dc5b0474c073b0f05d60629fc6c3decfca4 has been reverted. Signed-off-by: Gustaw Smolarczyk <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* i915g: Make the optimizer more generic.Stéphane Marchesin2011-07-071-27/+58
|
* scons: Generate libGL.so.1.5 and libGL.so.1 symlinks.José Fonseca2011-07-071-5/+8
| | | | In build/xxx/src/gallium/targets/libgl-xlib/SConscript
* nv50,nvc0: use screen instead of context for flush notifierChristoph Bumiller2011-07-078-30/+26
| | | | | Context may become NULL and we still have to be able to flush pending fences.
* nv50: more formats for nv50_resource_copy_region conversion pathChristoph Bumiller2011-07-071-16/+7
| | | | | | | It's not supposed to do conversion, but st sometimes asks us to. Sometimes conversion is even wrong (e.g. between UNORM and SRGB). This should now include all formats the 2D engine supports.
* i915g: Apply optimization to ADDS/MUL and only if we're not saturating.Stéphane Marchesin2011-07-071-6/+27
|
* st/xa: Fix up error reporting. Disable component alpha.Thomas Hellstrom2011-07-071-11/+26
| | | | | | Component alpha is temporarily disabled since it seems a bit buggy. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xa: Fix render to xa_format_a8, which is backed by a gallium L8 textureThomas Hellstrom2011-07-075-38/+87
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* i915g: move code after declarationBrian Paul2011-07-061-1/+2
|
* i915g: Fix optimize so that it actually gets used.Stéphane Marchesin2011-07-061-1/+1
|
* softpipe: add missing stencil format case in convert_quad_stencil()Brian Paul2011-07-061-0/+1
| | | | | | Part of the fix for https://bugs.freedesktop.org/show_bug.cgi?id=38729 NOTE: This is a candidate for the 7.11 branch
* tgsi: add some debug/print code in exec_tex(), disabledBrian Paul2011-07-061-0/+11
|
* softpipe: minor clean-ups in sp_quad_depth_test.cBrian Paul2011-07-061-5/+5
|
* i915g: Fix optimization, also make it more generic.Stéphane Marchesin2011-07-061-2/+26
|
* i915g: Improve flushing using heuristics.Stéphane Marchesin2011-07-068-1/+46
|
* i915g: introduce the tiny shader optimizer.Stéphane Marchesin2011-07-066-96/+372
|
* i915g: Add comment about DDX/DDY.Stéphane Marchesin2011-07-061-0/+1
|
* i915g: Move back to the old method for target format fixup.Stéphane Marchesin2011-07-062-58/+41
|
* r600g: fix buffer overflow check in r600_query_beginVadim Girlin2011-07-051-2/+5
|
* r600g: fix bo map usage flags in r600_query_beginVadim Girlin2011-07-051-1/+1
|
* r600g: reduce flushes for queriesVadim Girlin2011-07-054-11/+12
|
* r600g: fix buffer offset in r600_query_beginVadim Girlin2011-07-051-1/+1
|
* r600g: Get rid of the state_inlines headers.Henri Verbeet2011-07-054-1104/+1044
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Get rid of an unused include in r600_texture.c.Henri Verbeet2011-07-051-1/+0
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Get rid of some unused functions.Henri Verbeet2011-07-052-64/+0
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Use the actual Evergreen functions to query format support on Evergreen.Henri Verbeet2011-07-056-88/+157
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Get rid of the unused "family" parameter to ↵Henri Verbeet2011-07-052-9/+4
| | | | | | r600_is_vertex_format_supported(). Signed-off-by: Henri Verbeet <[email protected]>
* draw: Fix fetch_max calculation.José Fonseca2011-07-041-1/+2
| | | | | | | | | | It should be max_index = start + count - 1 instead of max_index = count - 1
* Merge branch 'xa_branch'Thomas Hellstrom2011-07-0418-0/+3747
|\ | | | | | | | | | | | | Conflicts: configure.ac Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Fix crosscompile builds with nonstandard ld locationsThomas Hellstrom2011-07-041-1/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * xa-vmwgfx: Remove unnecessary includeThomas Hellstrom2011-07-041-1/+0
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Update README.Thomas Hellstrom2011-06-271-6/+14
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Add a function to check for supported formatsThomas Hellstrom2011-06-275-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | Typically this was done by having a surface creation function fail if the format was not supported. However, in some situations when changing hardware surface formats, it's desirable to do this check before attempting costly readback operations. Also updated the surface_redefine interface. Bump minor. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Various fixes for composite.Thomas Hellstrom2011-06-273-16/+29
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Solid fill (tested) and composite (yet untested)Thomas Hellstrom2011-06-2110-23/+974
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Really support xa_surface_format. Bump minor.Thomas Hellstrom2011-06-215-4/+11
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Support format-changing copy.Thomas Hellstrom2011-06-203-13/+53
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Make sure we blit all yuv regions.Thomas2011-06-161-0/+1
| | | | | | | | | | | | The code forgot to increment a pointer. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Fix a typo pointed out by Keith Whitwell.Thomas2011-06-161-1/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * target/dri-vmwgfx: Throttle dri clients by default.Thomas2011-06-161-0/+1
| | | | | | | | | | | | | | Throttle pretty hard in order to prioritize user-space interactivity over 3D application speed. May revisit this later. Signed-off-by: Thomas <[email protected]>
| * st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.Thomas Hellstrom2011-06-1515-0/+2700
| | | | | | | | | | | | See the file src/gallium/state_trackers/xa/README for more info. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/glx: Fix endless loop in drawable validationThomas Hellstrom2011-07-041-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression introduced with commit "st-api: Rework how drawables are invalidated v3" where the glx state tracker manager would invalidate a drawable each time it checks the drawable dimensions, even during a validate call, which resulted in an endless loop, since the state tracker would immediately detect the new invalidation and rerun the validate... This change marks the drawable invalid only if the drawable dimensions actually changed during the validate, which will result in at most a single unnecessary validate by the context running a validate during which the dimensions changed. To avoid unnecessary validates altogether, we need to implement yet another st-api change: Returning the current time stamp from the validate function, as suggested by Chia-I Wu. The glx state tracker manager could then return the stamp resulting from the last drawable dimension check. Signed-off-by: Thomas Hellstrom <[email protected]>
* | r600g: Support the PIPE_FORMAT_R16_FLOAT colorformat.Henri Verbeet2011-07-032-0/+8
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | svga: Use the correct element size.José Fonseca2011-07-011-1/+1
| | | | | | | | | | | | Instead of always using the first element's size. This fixes flashing floor on CINEBENCH R10.
* | u_upload_mgr: Use pipe_buffer_map_range istead of pipe_buffer_map.José Fonseca2011-07-011-5/+6
| | | | | | | | | | pipe_buffer_map_range makes stricter assertions, and would have saved us grief detecting a bug in svga user buffer uploads.
* | Gallium: fix buffer overflowMicael Dias2011-07-011-0/+11
| | | | | | | | Signed-off-by: José Fonseca <[email protected]>
* | svga: Fix multiple uploads of the same user-buffer.Thomas Hellstrom2011-07-013-30/+90
| | | | | | | | | | | | | | | | If a user-buffer was referenced twice by a draw command, the affected ranges were uploaded separately, with only the last one being referenced by the hardware. Make sure we upload only a single range. Signed-off-by: Thomas Hellstrom <[email protected]>