Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | nvc0: support edge flags | Christoph Bumiller | 2011-03-13 | 4 | -14/+88 |
| | |||||
* | nvc0: fix POLYGON_MODE_BACK macro copy/paste error | Christoph Bumiller | 2011-03-13 | 1 | -1/+1 |
| | |||||
* | 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 | -20/+11 |
| | |||||
* | nv50,nvc0: add some missing resource referencing | Christoph Bumiller | 2011-03-13 | 2 | -4/+34 |
| | |||||
* | nvc0: mask out centroid bit for writing FP header | Christoph Bumiller | 2011-03-13 | 1 | -1/+1 |
| | | | | It's only 2 bit per input, centroid is set in the instruction. | ||||
* | nvc0: identify VERTEX_QUARANTINE | Christoph Bumiller | 2011-03-13 | 3 | -8/+17 |
| | | | | | | | | Well, not sure what exactly it is, but it certainly doesn't contain the control flow stack, but vertex data. Not sure about size, I've only seen the first few KiB written, but the binary driver seems to allocate more. | ||||
* | nvc0: don't enable early-z if alpha test is enabled | Christoph Bumiller | 2011-03-13 | 4 | -12/+20 |
| | | | | | | Depth values are also written before the shader is executed, so if early tests are enabled, fragments that failed the alpha test were modifying the depth buffer, but they shouldn't. | ||||
* | nvc0: move sprite coord replace state into cso | Christoph Bumiller | 2011-03-13 | 2 | -27/+8 |
| | | | | It's not dependent on any other state anymore now. | ||||
* | nvc0: s/nblocksx/nblocksy for height in resource_copy_region | Christoph Bumiller | 2011-03-13 | 1 | -1/+1 |
| | |||||
* | nvc0: fix unitialized variable in TGSI sysval decl processing | Christoph Bumiller | 2011-03-13 | 1 | -0/+1 |
| | |||||
* | nvc0: update/fix supported instruction src modifiers | Christoph Bumiller | 2011-03-13 | 5 | -20/+31 |
| | |||||
* | gallium: remove flags from the flush function | Marek Olšák | 2011-03-11 | 1 | -7/+8 |
| | | | | | | | | | | 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 | -21/+0 |
| | | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers. | ||||
* | 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. | ||||
* | nvc0: Update SConscript. | Vinson Lee | 2011-03-04 | 1 | -3/+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 | 6 | -126/+22 |
| | |||||
* | nv50,nvc0: update the format tables | Christoph Bumiller | 2011-03-05 | 7 | -524/+191 |
| | | | | | | | | 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. | ||||
* | nvc0: use m2mf for resource_copy_region if formats are equal | Christoph Bumiller | 2011-03-05 | 3 | -4/+75 |
| | | | | | Which is always the case, but we'll keep the 2D engine blitter nonetheless. | ||||
* | nv50,nvc0: fix texture layer issues | Christoph Bumiller | 2011-03-05 | 9 | -62/+78 |
| | |||||
* | 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]> | ||||
* | nvc0: fix a crash on context destruction | Ben Skeggs | 2011-03-01 | 1 | -2/+6 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nouveau: ensure vbo_dirty is set when buffer write transfer complete | Ben Skeggs | 2011-03-01 | 11 | -102/+111 |
| | | | | | | This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: port to common fence/mm/buffer code | Ben Skeggs | 2011-03-01 | 21 | -1347/+128 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nv50-nvc0: set cur_ctx during init if none currently bound | Ben Skeggs | 2011-03-01 | 1 | -0/+2 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: fix PointCoord enable in FP header | Christoph Bumiller | 2011-02-24 | 1 | -2/+5 |
| | |||||
* | nvc0: change TGSI CMP translation to use slct | Christoph Bumiller | 2011-02-24 | 3 | -8/+15 |
| | | | | Saves us the explicit compare instruction needed with selp. | ||||
* | nvc0: sprite coord enable is per GENERIC, not overall index | Christoph Bumiller | 2011-02-24 | 1 | -5/+3 |
| | |||||
* | nvc0: fix new_value calls using type instead of size | Christoph Bumiller | 2011-02-24 | 1 | -3/+3 |
| | |||||
* | nvc0: set local memory usage info in shader header | Christoph Bumiller | 2011-02-24 | 6 | -3/+34 |
| | | | | Before this, l[] access was a no-op. | ||||
* | nvc0: don't fold loads from local memory | Christoph Bumiller | 2011-02-24 | 1 | -0/+5 |
| | |||||
* | nvc0: presin and preex2 can load from const space | Christoph Bumiller | 2011-02-24 | 1 | -2/+2 |
| | |||||
* | nvc0: kick out empty live ranges | Christoph Bumiller | 2011-02-24 | 1 | -0/+3 |
| | | | | They affect overlap tests even though they're actually empty. | ||||
* | nvc0: preemptively insert branch at ENDIF | Christoph Bumiller | 2011-02-24 | 2 | -1/+9 |
| | | | | | | | Might be necessary if a block sneaks in somewhere, like a common block for moves of phi sources after a loop break. This is harmless and normally will be removed before emission. | ||||
* | nvc0: correct allocation of constrained registers | Christoph Bumiller | 2011-02-24 | 1 | -67/+154 |
| | | | | | | | In linear scan we can't allocate multiple values with different live ranges at the same time to assign them consecutive regs. Maybe we should just switch to graph coloring for all values ... | ||||
* | nvc0: sync textures with render targets ourselves | Christoph Bumiller | 2011-02-24 | 6 | -6/+35 |
| | | | | Fixes for example piglit/fbo-flushing and nexuiz' bloom effect. | ||||
* | nvc0: improve userspace fencing | Christoph Bumiller | 2011-02-24 | 6 | -26/+46 |
| | | | | | | Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory. |