Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50,nvc0: prevent pushbuf flush during ctx reloc emission | Christoph Bumiller | 2011-06-24 | 4 | -11/+16 |
| | | | | | | Should unify this too, but will delay that until the planned libdrm_nouveau/winsys changes which are likely to cause major changes to this bo validation code too. | ||||
* | nv50: fix copy/paste error in nv50_gmtyprog_validate | Christoph Bumiller | 2011-06-14 | 1 | -2/+4 |
| | | | | Used the vertprog instead of gmtyprog. | ||||
* | nv50: fix nv50_sampler_state_delete array overflow | Marcin Slusarz | 2011-06-06 | 1 | -1/+1 |
| | | | | num_samplers is array of 3 elements, not 5 | ||||
* | nv50: fix emit_add_a16 to emit correct source reg | Trevor Davenport | 2011-05-27 | 1 | -2/+2 |
| | | | | | | | | | | | emit_add_a16 was using the incorrect source. This caused adds in the form of: add u16 $a0 s32 $a1 u32 0x00000200 to have a source AREG of $a0 instead of $a1. Fixes World of Warcraft in OpenGL and D3D without GLSL. | ||||
* | nv50: add support for user clip planes | Maxim Levitsky | 2011-05-19 | 4 | -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. | ||||
* | Remove redundant util_unsigned_logbase2 | Matt Turner | 2011-05-12 | 1 | -1/+1 |
| | | | | | | | util_logbase2 is exactly the same function. Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | nv50: fix mistake in pipe caps for pre-NVA0 cards | Maxim Levitsky | 2011-05-10 | 1 | -0/+1 |
| | | | | Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0. | ||||
* | nv50/nvc0: make transfers aware of PIPE_TRANSFER_MAP_DIRECTLY | Marcin Slusarz | 2011-05-09 | 1 | -0/+3 |
| | | | | | | | | | | If state tracker asked us to map resource directly and we can't do it (because of tiling), return NULL instead of doing full transfer - state tracker should handle it and fallback to some other method or repeat transfer without PIPE_TRANSFER_MAP_DIRECTLY. It greatly improves performance of xorg state tracker on nv50+, because its fallback (DFS/UTS) is much faster than full transfer. | ||||
* | nv50,nvc0: activate seamless cube map filtering | Christoph Bumiller | 2011-05-06 | 2 | -1/+39 |
| | |||||
* | gallium/xorg st/nv50: add PIPE_BIND_CURSOR | Marcin Slusarz | 2011-05-06 | 1 | -1/+9 |
| | | | | | We need to distinguish surfaces for mouse cursors from scanouts, because nv50 hardware display engine ignores tiling flags. | ||||
* | nv50,nvc0: advertise GL_FIXED vertex buffers as supported | Christoph Bumiller | 2011-05-03 | 1 | -0/+18 |
| | | | | | We'll handle them like f64 vertex buffers, by falling back to copying vertex data to the command buffer through translate. | ||||
* | gallium/nouveau: fix printf warnings | Marek Olšák | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | gallium: add fallback for copying buffers to all drivers | Marek Olšák | 2011-04-21 | 1 | -0/+8 |
| | | | | | | Just to keep drivers working. Reviewed-by: Jakob Bornecrantz <[email protected]> | ||||
* | gallium: include u_format.h for util_format_is_supported | Marcin Slusarz | 2011-04-17 | 1 | -0/+1 |
| | | | | | | | | | | | | Without it gcc complains: nv50_screen.c: In function ‘nv50_screen_is_format_supported’: nv50_screen.c:48: warning: implicit declaration of function ‘util_format_is_supported’ and handles it wrongly - util_format_is_supported returns boolean, which is typedef'ed to uchar, but function without prototype is assumed to return int. For me nv50_screen_is_format_supported was returning true for float formats without --enable-texture-float... | ||||
* | nv50,nvc0: add new texture and render target formats | Christoph Bumiller | 2011-04-17 | 1 | -2/+116 |
| | |||||
* | nv50,nvc0: fix normalized RG16 and RGBA32 texture format entries | Christoph Bumiller | 2011-04-17 | 1 | -4/+4 |
| | |||||
* | gallium: add and use generic function for querying patented format support (v2) | Marek Olšák | 2011-04-15 | 1 | -11/+2 |
| | | | | v2: Unsigned floats are allowed regardless of the configure switch. | ||||
* | nv50,nvc0: silence shader debug output | Christoph Bumiller | 2011-04-10 | 8 | -49/+52 |
| | |||||
* | nv50-nvc0: make use of COLOR_MASK,BLEND_ENABLE_COMMON | Christoph Bumiller | 2011-04-10 | 4 | -11/+18 |
| | |||||
* | nvc0: shrink CSOs a little | Christoph Bumiller | 2011-04-10 | 1 | -3/+3 |
| | |||||
* | nv50,nvc0: identify some line rasterization state | Christoph Bumiller | 2011-04-10 | 3 | -1/+4 |
| | | | | Fixes width of non-smooth (aliased) lines on nvc0. | ||||
* | nv50,nvc0: don't insert instructions after the block terminator | Christoph Bumiller | 2011-04-10 | 3 | -4/+15 |
| | |||||
* | nv50: prevent NV_OP_SELECT from having flags_def defined | Bryan Cain | 2011-04-04 | 1 | -0/+1 |
| | |||||
* | gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some drivers | Marek Olšák | 2011-04-01 | 1 | -0/+1 |
| | |||||
* | nv50: fix for GPR allocation granularity being 16 bit | Christoph Bumiller | 2011-03-31 | 1 | -3/+9 |
| | |||||
* | nv50: copy regalloc fixes from nvc0 | Christoph Bumiller | 2011-03-31 | 2 | -80/+216 |
| | | | | | | | Should fix gnome-shell's fade shader. Unification of the shader backend which is supposed to remove the code duplication is still WIP. | ||||
* | nv50,nvc0: implement colour clamping controls | Christoph Bumiller | 2011-03-29 | 8 | -6/+52 |
| | |||||
* | nv50,nvc0: implement texture barrier | Christoph Bumiller | 2011-03-19 | 1 | -0/+12 |
| | |||||
* | nv50,nvc0: don't assert on cso with 0 vertex elements | Christoph Bumiller | 2011-03-13 | 2 | -4/+2 |
| | |||||
* | nv50,nvc0: fix pipe context switch | Christoph Bumiller | 2011-03-13 | 1 | -5/+32 |
| | |||||
* | nv50,nvc0: clean up flushes | Christoph Bumiller | 2011-03-13 | 2 | -15/+11 |
| | |||||
* | nv50,nvc0: add some missing resource referencing | Christoph Bumiller | 2011-03-13 | 2 | -3/+30 |
| | |||||
* | gallium: remove flags from the flush function | Marek Olšák | 2011-03-11 | 1 | -5/+5 |
| | | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement. | ||||
* | gallium: remove the geom_flags param from is_format_supported | Marek Olšák | 2011-03-11 | 1 | -1/+1 |
| | |||||
* | gallium: kill is_resource_referenced | Marek Olšák | 2011-03-11 | 2 | -18/+0 |
| | | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers. | ||||
* | nv50: add back initialization of redefine_user_buffer | Christoph Bumiller | 2011-03-09 | 1 | -0/+2 |
| | | | | Got lost in f80c03e1875fe96ff2f4c022e3cb76357828140d. | ||||
* | gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR | Marek Olšák | 2011-03-05 | 1 | -1/+2 |
| | | | | | | | | ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced. | ||||
* | nv50: support the InstanceID system value | Christoph Bumiller | 2011-03-05 | 3 | -0/+25 |
| | |||||
* | nv50: Update SConscript. | Vinson Lee | 2011-03-04 | 1 | -4/+0 |
| | |||||
* | nv50,nvc0: get format desc for TIC entry from sampler view format | Christoph Bumiller | 2011-03-05 | 1 | -1/+1 |
| | | | | Fixes piglit/tex-srgb. | ||||
* | nv50,nvc0: share sampler state creation | Christoph Bumiller | 2011-03-05 | 4 | -24/+38 |
| | |||||
* | nv50,nvc0: update the format tables | Christoph Bumiller | 2011-03-05 | 3 | -117/+144 |
| | | | | | | | | Removed sampler view support for USCALED/SSCALED, the texture unit refuses to convert to non-normalized float. The enums are treated like UNORM. Removed duplicate format related headers. | ||||
* | nv50,nvc0: fix texture layer issues | Christoph Bumiller | 2011-03-05 | 1 | -3/+11 |
| | |||||
* | nv50: check grclass instead of chipset for 3D caps | Christoph Bumiller | 2011-03-03 | 2 | -6/+4 |
| | |||||
* | nv50: increase size of shader code bo | Christoph Bumiller | 2011-03-03 | 4 | -14/+23 |
| | | | | 512 KiB should be quite enough, but dynamic resize might be nicer. | ||||
* | nouveau: allow pipe driver to define which buffers should start in sysmem | Ben Skeggs | 2011-03-03 | 1 | -3/+2 |
| | | | | | | | PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need to be able to set others on certain chipsets. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nv50: fix IB index buffer path | Christoph Bumiller | 2011-03-02 | 1 | -8/+12 |
| | | | | Add missing VERTEX_END and treat unaligned offsets correctly. | ||||
* | nv50: fix POINT_COORD_REPLACE_MAP method size | Christoph Bumiller | 2011-03-02 | 1 | -2/+2 |
| | | | | Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87. | ||||
* | nv50: primitive restart trick for vertex data through FIFO mode | Christoph Bumiller | 2011-03-02 | 1 | -12/+17 |
| | | | | | Also, on nv50 the VERTEX_BEGIN method doesn't follow VERTEX_END, which was erroneously taken over from nvc0 and is fixed now. | ||||
* | nv50: fix depth clamp for disabled primitive clipping | Christoph Bumiller | 2011-03-02 | 1 | -2/+12 |
| |