summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* nvc0: implement point coord replacementChristoph Bumiller2011-01-234-11/+59
| | | | | | | | | | | But we have to cheat and peek at the GENERIC semantic indices the state tracker uses for TEXn. Only outputs from 0x300 to 0x37c can be replaced, and so we have to know on shader compilation which ones to put there in order to keep doing separate shader objects properly. At some point I'll probably create a patch that makes gallium not force us to discard the information about what is a TexCoord.
* vega: sort filenames in Makefile, SConscriptBrian Paul2011-01-232-23/+24
|
* r300g: support sRGB colorbuffersMarek Olšák2011-01-232-6/+52
| | | | | | We are not required to do the linear->sRGB conversion if ARB_framebuffer_sRGB is unsupported. However I think the conversion should work in hw except for blending, which matches the D3D9 behavior.
* r300/compiler: remove any code related to relative addressing of temporariesMarek Olšák2011-01-234-1/+25
| | | | | The hw can't do it and the code was useless anyway (it's lowered in the GLSL compiler).
* nvc0: fix emit_cvt for ceil, floor and truncChristoph Bumiller2011-01-232-13/+22
|
* nvc0: remove bad assert and emit TEMP movs insteadChristoph Bumiller2011-01-231-2/+1
|
* nvc0: fix address and value slot assignment in load combiningChristoph Bumiller2011-01-231-1/+6
|
* nvc0: don't omit highest bit of branch targetChristoph Bumiller2011-01-231-1/+1
| | | | Fixes negative relative branch offsets.
* nvc0: recognize r63 as zero in constant foldingChristoph Bumiller2011-01-233-13/+9
|
* nvc0: add MARK_RING where missing to avoid too many relocs errorsChristoph Bumiller2011-01-236-4/+19
|
* nvc0: don't apply base vertex to per-instance arraysChristoph Bumiller2011-01-231-1/+3
|