summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* util: Fix leak of transfers in upload managerJakob Bornecrantz2011-01-281-0/+1
|
* r300g: fix resource_copy_region for DXT SRGB formatsMarek Olšák2011-01-281-4/+4
|
* r600g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák2011-01-281-0/+1
|
* r300g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák2011-01-281-0/+1
|
* r300g: 8x8-compressed zbuffer can only be point-sampledMarek Olšák2011-01-281-1/+2
|
* r300g: fix and re-enable 8x8 zbuffer compression modeMarek Olšák2011-01-286-44/+69
| | | | Also cleanup the whole thing.
* r300g: print driver info if RADEON_DEBUG=infoMarek Olšák2011-01-277-39/+60
|
* r300g: add winsys flag CAN_AACOMPRESSMarek Olšák2011-01-274-10/+23
|
* r300g: rename flag squaretiling -> drm_2_1_0Marek Olšák2011-01-277-15/+14
|
* util: fix parsing debug optionsMarek Olšák2011-01-271-19/+25
| | | | | | | So that 'foo' can be found in: OPTION=prefixfoosuffix,foo Also allow that debug options can be separated by a non-alphanumeric characters instead of just commas.
* r300g: fix some bugs with zbuffer compression (v4)Marek Olšák2011-01-2714-331/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the memblock manager for ZMASK. Instead, only one zbuffer can be compressed at a time. Note that this does not necessarily have to be slower. When there is a large number of zbuffers, compression might be used more often than it was before. It's also easier to debug. How it works: 1) 'clear' turns the compression on. 2) If some other zbuffer is set or the currently-bound zbuffer is used for texturing, the driver decompresses it and then turns the compression off. Notes: - The ZMASK clear has been refactored, so that only one packet3 is used to clear ZMASK. - The 8x8 compression mode is disabled. I couldn't make it work without issues. - Also removed driver-specific stuff from u_blitter. Driver status: - RV530 and R580 appear to just work (finally). - RV570 should work, but there may be an issue that we don't correctly calculate the number of dwords to clear, resulting in a partially uninitialized zbuffer. - RS690 misrenders as if no ZMASK clear happened. No idea what's going on. - RV350 may even hardlock. This issue was already present and this patch doesn't fix it. I think we are still missing some hardware info we need to make the zbuffer compression work fully. Note that there is also an issue with HiZ, resulting in a sort of blocky zigzagged corruption around some objects.
* tgsi: add cases for array texturesBrian Paul2011-01-261-0/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
* st/egl: Downgrade warning to debug when we can't create a drm screenKristian Høgsberg2011-01-262-2/+2
| | | | We try to load a DRI driver if this fails so don't confuse users.
* util: require debug options to be separated by commasMarek Olšák2011-01-261-1/+38
| | | | | | | | | Let's assume there are two options with names such that one is a substring of another. Previously, if we only specified the longer one as a debug option, the shorter one would be considered specified as well (because of strstr). This commit fixes it by checking that each option is surrounded by commas. (a regexp would be nicer, but this is not a performance critical code)
* gallium: add an interface for query predicatesZack Rusin2011-01-262-1/+7
| | | | as specified in the arb_occlusion_query2. just the interface.
* softpipe: support for 1D/2D texture arraysBrian Paul2011-01-253-1/+210
|
* tgsi: add support for 1D/2D texture arraysBrian Paul2011-01-254-3/+42
|
* r600g: Implement timer queries.Mathias Fröhlich2011-01-255-14/+78
|
* r600g: Implement asyncronous query results.Mathias Fröhlich2011-01-251-4/+13
|
* r600g: Fix meaning of num_results for queries.Mathias Fröhlich2011-01-251-4/+4
|
* fix potential leak in r600_context_initTim Wiederhake2011-01-251-1/+2
|
* silences some valgrind warningsTim Wiederhake2011-01-251-1/+1
| | | | | ==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86)
* softpipe: fix off-by-one error in setup_fragcoord_coeff()Brian Paul2011-01-251-1/+1
| | | | | | | | | If we invert Y, need to subtract one from the surface height. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=26795 for softpipe. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* svga: link libwsw for dri-vmwgfx target with make build system tooRoland Scheidegger2011-01-251-0/+1
|
* u_blitter: remove bogus assertionMarek Olšák2011-01-251-3/+0
| | | | The module uses the 3D engine, so it can blit non-compatible formats.
* u_blitter: report recursion, update commentsMarek Olšák2011-01-251-1/+14
|
* nvc0: Move declaration before code.Vinson Lee2011-01-241-2/+2
| | | | Fixes nvc0 SCons build.
* gallium/tgsi: update the docs for the new opcodes a bitZack Rusin2011-01-241-5/+52
|
* scons: Add nvc0 to SConscript.Vinson Lee2011-01-241-0/+1
|
* vega: implement handler/pointer conversion using a hash tableBrian Paul2011-01-249-9/+175
| | | | Before, we were just casting between 32-bit VGHandles and 64-bit pointers.
* vega: remove redundant functions found elsewhereBrian Paul2011-01-241-10/+0
|
* vega: replace casts with pointer/handle conversion functionsBrian Paul2011-01-2411-165/+297
| | | | | | | | | Per the spec, all OpenVG handles are 32-bit. We can't just cast them to/from integers on 64-bit systems. Start fixing that mess by introducing a set of handle/pointer conversion functions in handle.h. The next step is to implement a handle/pointer hash table...
* svga: Add more swrast debugingJakob Bornecrantz2011-01-254-4/+34
|
* svga: Use get once helpers for context debug envsJakob Bornecrantz2011-01-251-4/+8
|
* rbug: Fix surface reference leakJakob Bornecrantz2011-01-251-3/+3
|
* r600g: FLT_TO_INT* are vector instructions on Evergreen.Henri Verbeet2011-01-251-2/+2
| | | | | | FLT_TO_INT is a vector instruction, despite what the (current) documentation says. FLT_TO_INT_FLOOR and FLT_TO_INT_RPI aren't explicitly mentioned in the documentation, but those are vector instructions too.
* graw: add a test showing the new sampling scheme in actionZack Rusin2011-01-241-0/+415
|
* gallium: implement modern sampling schemeZack Rusin2011-01-2417-34/+767
| | | | | | | | | | | largely a merge of the previously discussed origin/gallium-resource-sampling but updated. the idea is to allow arbitrary binding of resources, the way opencl, new gl versions and dx10+ require, i.e. DCL RES[0], 2D, FLOAT LOAD DST[0], SRC[0], RES[0] SAMPLE DST[0], SRC[0], RES[0], SAMP[0]
* draw: Do not use LLVM's opaque types.José Fonseca2011-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | Contrary what the name may suggest, LLVM's opaque types are used for recursive types -- types whose definition refers itself -- so opaque types correspond to pre-declaring a structure in C. E.g.: struct node; struct link { .... struct node *next; }; struct node { struct link link; } Void pointers are also disallowed by LLVM. So the suggested way of creating what's commonly referred as "opaque pointers" is using byte pointer (i.e., uint8_t * ).
* secure malloc in translate_cache_createTim Wiederhake2011-01-241-0/+4
| | | | Signed-off-by: Brian Paul <[email protected]>
* st/xorg: Fix build failure against xserver with XF86_CRTC_VERSION < 3.Michel Dänzer2011-01-241-4/+2
| | | | Reported by Vinson Lee.
* r300g: remove unused functionMarek Olšák2011-01-241-22/+0
|
* r300g: remove any traces of depth_clampMarek Olšák2011-01-242-3/+2
| | | | | | | | I couldn't make it work. GB_TILE_CONFIG.Z_EXTENDED, which enables per-pixel Z clamping, and VAP_CLIP_CNTL.CLIP_DISABLE, which disables clipping, do help, but they also add regressions like random graphics corruptions in some games.
* r300g: handle PIPE_CAP_INSTANCED_DRAWING in get_paramMarek Olšák2011-01-241-0/+1
|
* util: Add function logger helpersJakob Bornecrantz2011-01-242-0/+72
|
* Revert "r300g/swtcl: re-enable LLVM"Jakob Bornecrantz2011-01-243-24/+1
| | | | This reverts commit 88550083b3857184445075e70fed8b2eed4952a1.
* draw: Init llvm if not providedJakob Bornecrantz2011-01-243-4/+18
|
* i915g: Remove draw_flushes and state that we don't need to trackJakob Bornecrantz2011-01-243-35/+16
|
* i915g: Improve constant handlingJakob Bornecrantz2011-01-241-7/+17
|
* r300g: Increase fragment shader limits for r400 cardsTom Stellard2011-01-233-39/+88
| | | | | r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions.