Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50/nvc0: fix crash when channel allocation fails | Marcin Slusarz | 2011-12-02 | 1 | -1/+2 |
| | |||||
* | gallium: separate out floating-point CAPs into its own enum | Marek Olšák | 2011-11-22 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | The motivation behind this is to add some self-documentation in the code about how each CAP can be used. The idea is: - enum pipe_cap is only valid in get_param - enum pipe_capf is only valid in get_paramf Which CAPs are floating-point have been determined based on how everybody except svga implemented the functions. svga have been modified to match all the other drivers. Besides that, the floating-point CAPs are now prefixed with PIPE_CAPF_. | ||||
* | gallium: remove PIPE_CAP_GLSL and enable GLSL unconditionally | Marek Olšák | 2011-11-22 | 1 | -1/+0 |
| | | | | | Only i965g does not enable GLSL, but that driver has been unmaintained and bitrotting for quite a while anyway. | ||||
* | scons: add CPP_SOURCES for nv50/nvc0 | Chia-I Wu | 2011-11-06 | 1 | -1/+2 |
| | |||||
* | android: add CPP_SOURCES for nv50/nvc0 | Chia-I Wu | 2011-11-06 | 1 | -2/+2 |
| | |||||
* | nouveau,nvc0: fix/improve handling of multiple constant buffers | Christoph Bumiller | 2011-10-21 | 4 | -31/+53 |
| | |||||
* | nvc0: add support for linear and buffer textures and RTs | Christoph Bumiller | 2011-10-21 | 5 | -68/+148 |
| | |||||
* | nvc0: add support for clip distance shader outputs | Christoph Bumiller | 2011-10-21 | 6 | -16/+88 |
| | |||||
* | nvc0: handle more query types | Christoph Bumiller | 2011-10-21 | 3 | -49/+204 |
| | |||||
* | nvc0: fix location of the PrimitiveID output | Christoph Bumiller | 2011-10-21 | 1 | -4/+6 |
| | |||||
* | nvc0: prevent VERTEXID/INSTANCEID from consuming input slots | Christoph Bumiller | 2011-10-21 | 1 | -3/+15 |
| | |||||
* | nvc0: fixes for program tessellation parameters | Christoph Bumiller | 2011-10-21 | 1 | -17/+28 |
| | |||||
* | nv50,nvc0: reset per-instance state for inactive vertex elements | Christoph Bumiller | 2011-10-21 | 1 | -0/+2 |
| | |||||
* | nv50,nvc0: reset base element in draw_arrays | Christoph Bumiller | 2011-10-21 | 1 | -0/+5 |
| | | | | It affects VERTEX_BUFFER_FIRST,COUNT submission, too. | ||||
* | nvc0: apply first_layer offset to all resources with array_size | Christoph Bumiller | 2011-10-21 | 1 | -3/+1 |
| | | | | Makes CUBE arrays work with d3d1x. | ||||
* | nvc0: emit state to allow GP to select the RT layer | Christoph Bumiller | 2011-10-21 | 1 | -1/+4 |
| | |||||
* | nvc0: validate GP samplers, textures | Christoph Bumiller | 2011-10-21 | 1 | -0/+2 |
| | |||||
* | nvc0: fix clear_render_target/depth_stencil region | Christoph Bumiller | 2011-10-21 | 1 | -19/+21 |
| | | | | In all 3 dimensions (now clearing all layers too). | ||||
* | nvc0: fix assertion that immediate array buffer fits | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | nv50/ir: use RDSV to fetch FrontFacing before lowering | Christoph Bumiller | 2011-10-21 | 1 | -13/+11 |
| | |||||
* | nv50/ir: fix textureGrad with offsets and in non-FPs | Christoph Bumiller | 2011-10-21 | 2 | -3/+11 |
| | |||||
* | nv50/ir: add wrap mode for shift operations | Christoph Bumiller | 2011-10-21 | 1 | -2/+2 |
| | | | | D3D1x specifies that only the low 5 bit of the shift are used. | ||||
* | nvc0/ir: fix emission of cvt when register and type size differ | Christoph Bumiller | 2011-10-21 | 1 | -2/+3 |
| | |||||
* | nv50/ir: fix argument count for CUBE_ARRAY texture target | Christoph Bumiller | 2011-10-21 | 1 | -3/+3 |
| | |||||
* | nvc0/ir: GP emit address must end up in $r0 | Christoph Bumiller | 2011-10-21 | 1 | -0/+4 |
| | |||||
* | nvc0/ir: TXQ requires different lowering from normal TEX | Christoph Bumiller | 2011-10-21 | 1 | -1/+10 |
| | |||||
* | nvc0/ir: handle levelZero modifier in TEX emission | Christoph Bumiller | 2011-10-21 | 1 | -1/+9 |
| | |||||
* | nvc0/ir: fix lowering of DIV F32 | Christoph Bumiller | 2011-10-21 | 1 | -0/+1 |
| | |||||
* | nvc0/ir: fix xy confusion typo in readTessCoord | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | nv50,nvc0: extend formats table for integer formats | Christoph Bumiller | 2011-10-15 | 2 | -568/+324 |
| | |||||
* | gallium: rename ZS stencil type to UINT (v2) | Dave Airlie | 2011-10-11 | 3 | -12/+12 |
| | | | | | | | | | | these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nv50,nvc0: avoid unnecessary flushes | Marcin Slusarz | 2011-10-09 | 2 | -2/+2 |
| | | | | | Relocations don't consume pushbuffer space, so there is no need to ensure there is any space in pushbuffer. | ||||
* | nouveau: fix fence hang | Marcin Slusarz | 2011-10-09 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | If there is not enough space in pushbuffer for fence emission (nouveau_fence_emit -> nv50_screen_fence_emit -> MARK_RING), the pushbuffer is flushed, which through flush_notify -> nv50_default_flush_notify -> nouveau_fence_update marks currently emitting fence as flushed. But actual emission is done after this mark. So later when there is a need to wait on this fence and pushbuffer was not flushed in between, fence wait will never finish causing application to hang. To fix this, introduce new fence state between AVAILABLE and EMITTED, set it before emission and handle it everywhere. Additionally obtain fence sequence numbers after possible flush in MARK_RING, because we want to emit fences in correct order. Reviewed-by: Christoph Bumiller <[email protected]> Note: This is a candidate for the 7.11 branch. | ||||
* | gallium: add PIPE_CAP_TEXTURE_BARRIER | Marek Olšák | 2011-09-30 | 1 | -0/+1 |
| | | | | | | Same issue as with conditional_render. Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: add PIPE_CAP_CONDITIONAL_RENDER | Marek Olšák | 2011-09-30 | 1 | -0/+1 |
| | | | | | | | We were checking whether render_condition is set. That was not reliable, because it's always set with trace and noop regardless of driver support. Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS | Marek Olšák | 2011-09-30 | 1 | -3/+2 |
| | | | | | | | | | This removes: - PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS - PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS in favor of the that new per-shader cap. Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: remove PIPE_CAP_TEXTURE_MIRROR_REPEAT | Marek Olšák | 2011-09-30 | 1 | -1/+0 |
| | | | | | | | | | | All drivers support it (well, except Cell). The boolean option is going away from core Mesa too. This is a follow-up to Ian Romanick's patch "mesa: Remove ARB_texture_mirrored_repeat extension enable flag". Reviewed-by: Brian Paul <[email protected]> | ||||
* | nv50,nvc0: support polygon offset clamp state | Christoph Bumiller | 2011-09-28 | 3 | -1/+5 |
| | |||||
* | gallium: move clear paths from rgba to a pointer to a color union (v2) | Dave Airlie | 2011-09-18 | 2 | -11/+13 |
| | | | | | | | | | | | | | | | This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nouveau: Fix typos of ParseSourceList in SConscript files. | Vinson Lee | 2011-09-16 | 1 | -1/+1 |
| | | | | Reviewed-by: Chia-I Wu <[email protected]> | ||||
* | 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 |