Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvc0: implement resource_resolve | Christoph Bumiller | 2011-09-14 | 4 | -5/+532 |
| | |||||
* | nv50/ir: add missing license headers | Christoph Bumiller | 2011-09-14 | 4 | -0/+84 |
| | |||||
* | nvc0: emit tessellation mode and patch size in TCP/TEP validation | Christoph Bumiller | 2011-09-14 | 1 | -1/+12 |
| | |||||
* | nv50,nvc0: handle PIPE_CAP_MIN/MAX_TEXEL_OFFSET | Christoph Bumiller | 2011-09-14 | 1 | -0/+4 |
| | |||||
* | nvc0: remove old shader backend files | Christoph Bumiller | 2011-09-14 | 7 | -7270/+0 |
| | |||||
* | nvc0: hook up to new shader code generator | Christoph Bumiller | 2011-09-14 | 8 | -612/+494 |
| | | | | | | Also includes loading of shared shader library code (used for f64 and integer division) and setting up the immediate array buffer which is appended to the code. | ||||
* | nv50/ir: import new shader backend code | Christoph Bumiller | 2011-09-14 | 6 | -1/+3039 |
| | |||||
* | nvc0: prevent interruption of m2mf push | Christoph Bumiller | 2011-09-14 | 1 | -20/+18 |
| | | | | | M2MF will trap if the data stream is interrupted by a QUERY fence and report too much or not enough data. | ||||
* | nouveau: make data argument of nouveau_context::push_data const | Christoph Bumiller | 2011-09-14 | 2 | -3/+3 |
| | |||||
* | nv50/nvc0: add support for R4A4_UNORM and A4R4_UNORM formats | Marcin Slusarz | 2011-09-13 | 1 | -0/+8 |
| | | | | R4A4 is needed by OSD in mplayer's xvmc output | ||||
* | gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS | Marek Olšák | 2011-09-10 | 1 | -2/+2 |
| | | | | v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP. | ||||
* | nv50,nvc0: fix multisample format hack | Christoph Bumiller | 2011-08-31 | 1 | -1/+1 |
| | | | | | | | | Advertising different format support based on sample count was a bad idea, it made resolve to window work, but resolve to anything else would fail. See 9f4998639c3c47f0b7ee3e2a29b7f3609d3f7796. | ||||
* | nv50: add support for linear textures and render targets | Christoph Bumiller | 2011-08-30 | 1 | -1/+1 |
| | |||||
* | nv50,nvc0: add states mask to state validation function | Christoph Bumiller | 2011-08-30 | 4 | -12/+15 |
| | | | | | | This prevents null dereferences in validation of interdependent state after a switch to a pipe context where we mark all state as dirty but where not all state is valid / set yet. | ||||
* | nv50,nvc0: reject R8G8B8A8/X8_UNORM for multisample surfaces | Christoph Bumiller | 2011-08-30 | 1 | -1/+11 |
| | | | | | | The window system buffer will be BGRA and applications will try to directly resolve to it, which would trigger an INVALID_OPERATION in BlitFramebuffer if the multisample renderbuffer is RGBA. | ||||
* | android: add support for nouveau | Chia-I Wu | 2011-08-27 | 1 | -0/+37 |
| | | | | Compile tested only. | ||||
* | nouveau: share the source lists | Chia-I Wu | 2011-08-27 | 3 | -49/+28 |
| | | | | | For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. | ||||
* | nv50,nvc0: never convert in resource copy when format sizes match | Christoph Bumiller | 2011-08-07 | 1 | -1/+8 |
| | | | | | | | If there are any cases left where the st thinks that RGBA -> BGRA will swap components, it will get what it deserves. Now the GPU's 2D engine goes unused. What a shame. | ||||
* | Merge branch 'glsl-to-tgsi' | Bryan Cain | 2011-08-04 | 1 | -0/+2 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c | ||||
| * | gallium: add PIPE_SHADER_CAP_INTEGERS | Bryan Cain | 2011-08-01 | 1 | -0/+2 |
| | | |||||
* | | nouveau: hook up video decoding with nouveau_context | Christoph Bumiller | 2011-07-21 | 2 | -0/+7 |
| | | | | | | | | | | This doesn't include nvfx since its context struct is not derived from common nouveau_context (yet). | ||||
* | | nv50,nvc0: extensive surface format renaming to get consistency | Christoph Bumiller | 2011-07-14 | 3 | -54/+53 |
| | | | | | | | | Now the component ordering is consistent and matches gallium again. | ||||
* | | nv50,nvc0: add support for multi-sample resources | Christoph Bumiller | 2011-07-14 | 12 | -143/+130 |
| | | |||||
* | | nv50,nvc0: add correct storage type for Z32_FLOAT | Christoph Bumiller | 2011-07-14 | 1 | -0/+6 |
| | | |||||
* | | nv50,nvc0: unify nvc0_miptree and nv50_miptree structs | Christoph Bumiller | 2011-07-14 | 11 | -282/+249 |
| | | | | | | | | | | Share some functions and restructure miptree creation a little. Prepare for multi-sample resources. | ||||
* | | nv50,nvc0: don't advertise unaligned texture format support | Christoph Bumiller | 2011-07-14 | 1 | -12/+12 |
| | | | | | | | | | | | | | | Because we don't support them. For instance, R32G32B32 is not R32G32B32X32 as was assumed. Add support for R8G8B8X8_UNORM instead of R8G8B8_UNORM surfaces. | ||||
* | | nv50,nvc0: use screen instead of context for flush notifier | Christoph Bumiller | 2011-07-07 | 4 | -16/+15 |
| | | | | | | | | | | Context may become NULL and we still have to be able to flush pending fences. | ||||
* | | 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. | ||||
* | nvc0: prevent overlap between load address and destination regs | Christoph Bumiller | 2011-05-13 | 1 | -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. | ||||
* | 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 | 1 | -0/+5 |
| | |||||
* | 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: 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... | ||||
* | nvc0: work around what looks like a code prefetch bug | Christoph Bumiller | 2011-04-17 | 1 | -1/+4 |
| | | | | | | | Sounds very unlikely, but I don't have a better explanation at the moment. The GPU throws page faults at the first page after the code buffer quite frequently on startup, and traces don't show us overflowing. | ||||
* | nv50,nvc0: add new texture and render target formats | Christoph Bumiller | 2011-04-17 | 1 | -5/+61 |
| | |||||
* | nv50,nvc0: fix normalized RG16 and RGBA32 texture format entries | Christoph Bumiller | 2011-04-17 | 1 | -2/+2 |
| | |||||
* | nvc0: fix viewport rectangle calculation | Christoph Bumiller | 2011-04-17 | 1 | -5/+7 |
| | |||||
* | 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 | -60/+33 |
| | |||||
* | nvc0: make the card permit separate colour outputs | Christoph Bumiller | 2011-04-10 | 2 | -14/+4 |
| | |||||
* | nv50-nvc0: make use of COLOR_MASK,BLEND_ENABLE_COMMON | Christoph Bumiller | 2011-04-10 | 5 | -20/+14 |
| | |||||
* | nvc0: shrink CSOs a little | Christoph Bumiller | 2011-04-10 | 3 | -26/+22 |
| | |||||
* | nv50,nvc0: identify some line rasterization state | Christoph Bumiller | 2011-04-10 | 3 | -5/+17 |
| | | | | Fixes width of non-smooth (aliased) lines on nvc0. | ||||
* | nvc0: force perspective correction hint to nicest | Christoph Bumiller | 2011-04-10 | 2 | -0/+7 |
| | | | | | | | | | Fixes issues in e.g. nexuiz (desertfactory) or supertuxkart that look like lighting bugs. They're not visible with the software rasterizers because their notion of linear interpolation seems to be different from that of nv50/nvc0. | ||||
* | nv50,nvc0: don't insert instructions after the block terminator | Christoph Bumiller | 2011-04-10 | 2 | -3/+10 |
| | |||||
* | gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some drivers | Marek Olšák | 2011-04-01 | 1 | -0/+1 |
| | |||||
* | nv50,nvc0: implement colour clamping controls | Christoph Bumiller | 2011-03-29 | 4 | -5/+7 |
| | |||||
* | nv50,nvc0: implement texture barrier | Christoph Bumiller | 2011-03-19 | 1 | -0/+10 |
| | |||||
* | nv50,nvc0: don't assert on cso with 0 vertex elements | Christoph Bumiller | 2011-03-13 | 1 | -2/+0 |
| |