Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: add cases for array textures | Brian Paul | 2011-01-26 | 1 | -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 screen | Kristian Høgsberg | 2011-01-26 | 2 | -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 commas | Marek Olšák | 2011-01-26 | 1 | -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 predicates | Zack Rusin | 2011-01-26 | 2 | -1/+7 |
| | | | | as specified in the arb_occlusion_query2. just the interface. | ||||
* | softpipe: support for 1D/2D texture arrays | Brian Paul | 2011-01-25 | 3 | -1/+210 |
| | |||||
* | tgsi: add support for 1D/2D texture arrays | Brian Paul | 2011-01-25 | 4 | -3/+42 |
| | |||||
* | r600g: Implement timer queries. | Mathias Fröhlich | 2011-01-25 | 5 | -14/+78 |
| | |||||
* | r600g: Implement asyncronous query results. | Mathias Fröhlich | 2011-01-25 | 1 | -4/+13 |
| | |||||
* | r600g: Fix meaning of num_results for queries. | Mathias Fröhlich | 2011-01-25 | 1 | -4/+4 |
| | |||||
* | fix potential leak in r600_context_init | Tim Wiederhake | 2011-01-25 | 1 | -1/+2 |
| | |||||
* | silences some valgrind warnings | Tim Wiederhake | 2011-01-25 | 1 | -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 Paul | 2011-01-25 | 1 | -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 too | Roland Scheidegger | 2011-01-25 | 1 | -0/+1 |
| | |||||
* | u_blitter: remove bogus assertion | Marek Olšák | 2011-01-25 | 1 | -3/+0 |
| | | | | The module uses the 3D engine, so it can blit non-compatible formats. | ||||
* | u_blitter: report recursion, update comments | Marek Olšák | 2011-01-25 | 1 | -1/+14 |
| | |||||
* | nvc0: Move declaration before code. | Vinson Lee | 2011-01-24 | 1 | -2/+2 |
| | | | | Fixes nvc0 SCons build. | ||||
* | gallium/tgsi: update the docs for the new opcodes a bit | Zack Rusin | 2011-01-24 | 1 | -5/+52 |
| | |||||
* | scons: Add nvc0 to SConscript. | Vinson Lee | 2011-01-24 | 1 | -0/+1 |
| | |||||
* | vega: implement handler/pointer conversion using a hash table | Brian Paul | 2011-01-24 | 9 | -9/+175 |
| | | | | Before, we were just casting between 32-bit VGHandles and 64-bit pointers. | ||||
* | vega: remove redundant functions found elsewhere | Brian Paul | 2011-01-24 | 1 | -10/+0 |
| | |||||
* | vega: replace casts with pointer/handle conversion functions | Brian Paul | 2011-01-24 | 11 | -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 debuging | Jakob Bornecrantz | 2011-01-25 | 4 | -4/+34 |
| | |||||
* | svga: Use get once helpers for context debug envs | Jakob Bornecrantz | 2011-01-25 | 1 | -4/+8 |
| | |||||
* | rbug: Fix surface reference leak | Jakob Bornecrantz | 2011-01-25 | 1 | -3/+3 |
| | |||||
* | r600g: FLT_TO_INT* are vector instructions on Evergreen. | Henri Verbeet | 2011-01-25 | 1 | -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 action | Zack Rusin | 2011-01-24 | 1 | -0/+415 |
| | |||||
* | gallium: implement modern sampling scheme | Zack Rusin | 2011-01-24 | 17 | -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é Fonseca | 2011-01-24 | 1 | -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_create | Tim Wiederhake | 2011-01-24 | 1 | -0/+4 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/xorg: Fix build failure against xserver with XF86_CRTC_VERSION < 3. | Michel Dänzer | 2011-01-24 | 1 | -4/+2 |
| | | | | Reported by Vinson Lee. | ||||
* | r300g: remove unused function | Marek Olšák | 2011-01-24 | 1 | -22/+0 |
| | |||||
* | r300g: remove any traces of depth_clamp | Marek Olšák | 2011-01-24 | 2 | -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_param | Marek Olšák | 2011-01-24 | 1 | -0/+1 |
| | |||||
* | util: Add function logger helpers | Jakob Bornecrantz | 2011-01-24 | 2 | -0/+72 |
| | |||||
* | Revert "r300g/swtcl: re-enable LLVM" | Jakob Bornecrantz | 2011-01-24 | 3 | -24/+1 |
| | | | | This reverts commit 88550083b3857184445075e70fed8b2eed4952a1. | ||||
* | draw: Init llvm if not provided | Jakob Bornecrantz | 2011-01-24 | 3 | -4/+18 |
| | |||||
* | i915g: Remove draw_flushes and state that we don't need to track | Jakob Bornecrantz | 2011-01-24 | 3 | -35/+16 |
| | |||||
* | i915g: Improve constant handling | Jakob Bornecrantz | 2011-01-24 | 1 | -7/+17 |
| | |||||
* | r300g: Increase fragment shader limits for r400 cards | Tom Stellard | 2011-01-23 | 3 | -39/+88 |
| | | | | | r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions. | ||||
* | nvc0: implement point coord replacement | Christoph Bumiller | 2011-01-23 | 4 | -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, SConscript | Brian Paul | 2011-01-23 | 2 | -23/+24 |
| | |||||
* | r300g: support sRGB colorbuffers | Marek Olšák | 2011-01-23 | 2 | -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 temporaries | Marek Olšák | 2011-01-23 | 4 | -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 trunc | Christoph Bumiller | 2011-01-23 | 2 | -13/+22 |
| | |||||
* | nvc0: remove bad assert and emit TEMP movs instead | Christoph Bumiller | 2011-01-23 | 1 | -2/+1 |
| | |||||
* | nvc0: fix address and value slot assignment in load combining | Christoph Bumiller | 2011-01-23 | 1 | -1/+6 |
| | |||||
* | nvc0: don't omit highest bit of branch target | Christoph Bumiller | 2011-01-23 | 1 | -1/+1 |
| | | | | Fixes negative relative branch offsets. | ||||
* | nvc0: recognize r63 as zero in constant folding | Christoph Bumiller | 2011-01-23 | 3 | -13/+9 |
| | |||||
* | nvc0: add MARK_RING where missing to avoid too many relocs errors | Christoph Bumiller | 2011-01-23 | 6 | -4/+19 |
| | |||||
* | nvc0: don't apply base vertex to per-instance arrays | Christoph Bumiller | 2011-01-23 | 1 | -1/+3 |
| |