aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
...
| * r600g: fix eg/cayman scissor workaroundAlex Deucher2011-05-241-11/+13
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
| * r600g: add workaround for buggy hw scissor on eg/cayman.Dave Airlie2011-05-251-1/+14
| | | | | | | | | | | | This is ported from the same fix to the DDX. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: add initial cayman acceleration support.Dave Airlie2011-05-2512-204/+1442
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cayman is the RadeonHD 69xx series of GPUs. This adds support for 3D acceleration to the r600g driver. Major changes: Some context registers moved around - mainly MSAA and clipping/guardband related. GPR allocation is all dynamic no vertex cache - all unified in texture cache. 5-wide to 4-wide shader engines (no scalar or trans slot) - some changes to how instructions are placed into slots - removal of END_OF_PROGRAM bit in favour of END flow control clause - no vertex fetch clause - TC accepts vertex or texture Signed-off-by: Dave Airlie <[email protected]>
| * r600g: don't lookup a vs semantic for position/face.Dave Airlie2011-05-251-0/+4
| | | | | | | | | | | | | | These don't need one, and I was seeing 0xff being returned and set in the GPU registers with some tests. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: flush the DB dest base as well.Dave Airlie2011-05-251-1/+1
| | | | | | | | | | | | | | | | If we do this for CB bases then we should do it for DB bases. noticed while adding cayman support. Signed-off-by: Dave Airlie <[email protected]>
| * wgl: Don't hold on to user supplied HDC.José Fonseca2011-05-243-23/+22
| | | | | | | | | | | | | | | | | | | | | | Certain applications (e.g., Bernina My Label, and the Windows implementation of Processing language) destroy the device context used when creating the frame-buffer, causing presents to fail because we were still referring to the old device context internally. This change ensures we always use the same HDC passed to the ICD entry-points when available, or our own HDC when not available (necessary only when flushing on single buffered visuals).
* | [g3dvl] use a vertex element instead of the instance idChristian König2011-06-045-21/+85
| |
* | Revert "Merge remote-tracking branch 'mareko/r300g-draw-instanced' into ↵Christian König2011-06-049-158/+17
| | | | | | | | | | | | | | pipe-video" This reverts commit 10370b752cd793665feec9494e6545a3f04c69f9, reversing changes made to ded2a9a628c58c2c8bfaaf6b8dd213e68de1dd20.
* | Merge remote-tracking branch 'mareko/r300g-draw-instanced' into pipe-videoChristian König2011-06-039-17/+158
|\ \
| * | r300g: implement draw_instanced for HWTCLMarek Olšák2011-04-259-17/+158
| | |
* | | [g3dvl] respect maximum instruction for idct render targetsChristian König2011-06-011-3/+8
| | |
* | | [g3dvl] dynamical adjust blocks per lineChristian König2011-06-011-5/+4
| | |
* | | [g3dvl] move quantification into shadersChristian König2011-05-294-112/+168
| | |
* | | [g3dvl] implement mismatch control inside idct shadersChristian König2011-05-294-46/+198
| | |
* | | [g3dvl] fix resource type for idctChristian König2011-05-291-12/+11
| | | | | | | | | | | | Only the intermediate resource are 3D textures
* | | Initial r300g supportChristian König2011-05-2910-312/+161
| | | | | | | | | | | | | | | | | | Based uppon a patch from Pali Rohár <[email protected]>. This seems to get at least YUV->RGB conversion working. So a simple "mplayer -vo vdpau" now seems to work fine.
* | | [g3dvl] rework resource format handlingChristian König2011-05-221-131/+88
| | |
* | | r600g: revert commit 36b322dffd2429130f132f55f68acb1a23ba1658 for nowChristian König2011-05-221-2/+0
| | | | | | | | | | | | Disable scaled textures, since they didn't work 100% right now.
* | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-2117-103/+313
|\ \ \ | | |/ | |/|
| * | r600g: fix "Fixed-Point Data Conversions"Christian König2011-05-212-2/+2
| | | | | | | | | | | | | | | | | | According to OpenGL 3.1 chapter 2.1.5 the representation without zero should only be used for vertex attribute values, but not for textures or frame-buffers.
| * | st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESABenjamin Franzke2011-05-201-1/+7
| | |
| * | st/dri: Support dri2 useflags in dri2_create_imageBenjamin Franzke2011-05-201-0/+9
| | |
| * | st/egl/wayland: Deal with wayland visual changesBenjamin Franzke2011-05-201-17/+21
| | | | | | | | | | | | | | | | | | | | | Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant lookup visuals, as we dont receive the visual token events. The format for pixmap-images thus has to default to argb for now.
| * | gallivm: Fix for dynamically linked LLVM 2.8 library.José Fonseca2011-05-201-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the error prog: for the -disable-mmx option: may only occur zero or one times! when creating a new context after XCloseDisplay with DRI drivers linked with a shared LLVM 2.8 library.
| * | st/glx: define/set new ST_CONTEXT_FLAG_bitsBrian Paul2011-05-192-11/+25
| | |
| * | st/glx: pass major, minor, context flags, etc to XMesaCreateContext()Brian Paul2011-05-193-3/+9
| | |
| * | st/glx: implement glXCreateContextAttribsARB()Brian Paul2011-05-191-0/+95
| | |
| * | st/glx: pass version, context flags, etc to create_context()Brian Paul2011-05-191-4/+9
| | |
| * | st/glx: refactor create-context functionsBrian Paul2011-05-191-61/+40
| | |
| * | nv50: add support for user clip planesMaxim Levitsky2011-05-194-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clip distance is calculated each time vertex position is written which is suboptiomal is some cases but very safe. User clip planes are an obsolete feature anyway. Every time number of clip planes increases, the vertex program is recompiled. That ensures no overhead in normal case (no user clip planes) and reasonable overhead otherwise. Fixes 3D windows in compiz, and reflection effect in neverball. Also fixes compiz expo plugin when windows were dragged and each window shown 3 times.
| * | gallivm: Tell LLVM to not assume a 16-byte aligned stack on x86.José Fonseca2011-05-181-0/+13
| | | | | | | | | | | | Fixes fdo 36738.
| * | r600g: bump domain selection up one layer.Dave Airlie2011-05-183-6/+24
| | | | | | | | | | | | | | | | | | | | | this is taken from a patch from Mathias Froehlich, just going to stage it in a few pieces. Signed-off-by: Dave Airlie <[email protected]>
| * | u_vbuf_mgr: fix max_index computation when src_offset is abused as buffer_offsetMarek Olšák2011-05-171-1/+6
| | |
| * | gallium: block signals for new thread when spawning threadsDave Airlie2011-05-161-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm hard pressed to think of any reason a gallium thread would want to receive a signal, especially considering its probably loaded as a library and you don't want the threads interfering with the main threads signal handling. This solves a problem loading llvmpipe into the X server for AIGLX, where the X server relies on the SIGIO signal going to the main thread, but once llvmpipe loads the SIGIO can end up in any of its threads. Signed-off-by: Dave Airlie <[email protected]>
* | | r600g: fix "Fixed-Point Data Conversions"Christian König2011-05-212-2/+2
| | | | | | | | | | | | | | | | | | According to OpenGL 3.1 chapter 2.1.5 the representation without zero should only be used for vertex attribute values, but not for textures or frame-buffers.
* | | vdpau: rename vdpau driver to r600/softpieChristian König2011-05-183-1/+4
| | |
* | | [g3dvl] fix missing swizzle on instanceidChristian König2011-05-181-1/+1
| | |
* | | [g3dvl] add missing ureg_ENDChristian König2011-05-161-0/+2
| | |
* | | [g3dvl] softpipe now needs the llvm libsChristian König2011-05-161-1/+1
| | |
* | | [g3dvl] store the idct matrix as hex valuesChristian König2011-05-161-10/+17
| | | | | | | | | | | | Give the dct matrix a higher precision.
* | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-1552-1123/+1887
|\| |
| * | r600g: reduce flushes so only when texture and CB overlap.Dave Airlie2011-05-152-8/+17
| | | | | | | | | | | | | | | | | | | | | We only need to do this when the texture and CB are using the same memory area. Signed-off-by: Dave Airlie <[email protected]>
| * | r300g: HiZ fixesMarek Olšák2011-05-151-24/+24
| | | | | | | | | | | | | | | | | | | | | Nothing special, just changing conditions for when HiZ can be enabled and when HiZ memory becomes invalid. I was thinking about it again and realized it had not been quite right.
| * | r300g: don't set other HyperZ states if depth and stencil tests are disabledMarek Olšák2011-05-151-14/+27
| | | | | | | | | | | | Such as HiZ.
| * | r300g: dynamically ask for and release Hyper-Z accessMarek Olšák2011-05-1510-95/+225
| | | | | | | | | | | | | | | We ask for Hyper-Z access when clearing a zbuffer. We release it if no zbuffer clear has been done for 2 seconds.
| * | r300g: fix conversion from int to booleanMarek Olšák2011-05-151-2/+2
| | |
| * | u_vbuf_mgr: fix max_index computation once againMarek Olšák2011-05-141-15/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See how I compute and use the 'unused' variable in the code. It's crucial for getting max_index right. Fixed with the help of apitrace. (bisecting the problematic draw call manually was not fun though) This should fix: https://bugs.freedesktop.org/show_bug.cgi?id=36268 https://bugs.freedesktop.org/show_bug.cgi?id=36609
| * | nvc0: prevent overlap between load address and destination regsChristoph Bumiller2011-05-131-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | For example, an indirect load like "ld b128 $r0q c0[$r0]" seems to overwrite the address register before finishing the load, but only if there are a lot of threads running. Visible as displaced geoemtry in Unigine Heaven.
| * | util_logbase2 takes and returns unsigned, not intMatt Turner2011-05-121-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * | Remove redundant util_unsigned_logbase2Matt Turner2011-05-125-17/+5
| | | | | | | | | | | | | | | | | | | | | util_logbase2 is exactly the same function. Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>