summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
Commit message (Collapse)AuthorAgeFilesLines
* nv50/nvc0: fix crash when channel allocation failsMarcin Slusarz2011-12-021-1/+2
|
* gallium: separate out floating-point CAPs into its own enumMarek Olšák2011-11-221-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 unconditionallyMarek Olšák2011-11-221-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/nvc0Chia-I Wu2011-11-061-1/+2
|
* android: add CPP_SOURCES for nv50/nvc0Chia-I Wu2011-11-061-2/+2
|
* nouveau,nvc0: fix/improve handling of multiple constant buffersChristoph Bumiller2011-10-214-31/+53
|
* nvc0: add support for linear and buffer textures and RTsChristoph Bumiller2011-10-215-68/+148
|
* nvc0: add support for clip distance shader outputsChristoph Bumiller2011-10-216-16/+88
|
* nvc0: handle more query typesChristoph Bumiller2011-10-213-49/+204
|
* nvc0: fix location of the PrimitiveID outputChristoph Bumiller2011-10-211-4/+6
|
* nvc0: prevent VERTEXID/INSTANCEID from consuming input slotsChristoph Bumiller2011-10-211-3/+15
|
* nvc0: fixes for program tessellation parametersChristoph Bumiller2011-10-211-17/+28
|
* nv50,nvc0: reset per-instance state for inactive vertex elementsChristoph Bumiller2011-10-211-0/+2
|
* nv50,nvc0: reset base element in draw_arraysChristoph Bumiller2011-10-211-0/+5
| | | | It affects VERTEX_BUFFER_FIRST,COUNT submission, too.
* nvc0: apply first_layer offset to all resources with array_sizeChristoph Bumiller2011-10-211-3/+1
| | | | Makes CUBE arrays work with d3d1x.
* nvc0: emit state to allow GP to select the RT layerChristoph Bumiller2011-10-211-1/+4
|
* nvc0: validate GP samplers, texturesChristoph Bumiller2011-10-211-0/+2
|
* nvc0: fix clear_render_target/depth_stencil regionChristoph Bumiller2011-10-211-19/+21
| | | | In all 3 dimensions (now clearing all layers too).
* nvc0: fix assertion that immediate array buffer fitsChristoph Bumiller2011-10-211-1/+1
|
* nv50/ir: use RDSV to fetch FrontFacing before loweringChristoph Bumiller2011-10-211-13/+11
|
* nv50/ir: fix textureGrad with offsets and in non-FPsChristoph Bumiller2011-10-212-3/+11
|
* nv50/ir: add wrap mode for shift operationsChristoph Bumiller2011-10-211-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 differChristoph Bumiller2011-10-211-2/+3
|
* nv50/ir: fix argument count for CUBE_ARRAY texture targetChristoph Bumiller2011-10-211-3/+3
|
* nvc0/ir: GP emit address must end up in $r0Christoph Bumiller2011-10-211-0/+4
|
* nvc0/ir: TXQ requires different lowering from normal TEXChristoph Bumiller2011-10-211-1/+10
|
* nvc0/ir: handle levelZero modifier in TEX emissionChristoph Bumiller2011-10-211-1/+9
|
* nvc0/ir: fix lowering of DIV F32Christoph Bumiller2011-10-211-0/+1
|
* nvc0/ir: fix xy confusion typo in readTessCoordChristoph Bumiller2011-10-211-1/+1
|
* nv50,nvc0: extend formats table for integer formatsChristoph Bumiller2011-10-152-568/+324
|
* gallium: rename ZS stencil type to UINT (v2)Dave Airlie2011-10-113-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 flushesMarcin Slusarz2011-10-092-2/+2
| | | | | Relocations don't consume pushbuffer space, so there is no need to ensure there is any space in pushbuffer.
* nouveau: fix fence hangMarcin Slusarz2011-10-091-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_BARRIERMarek Olšák2011-09-301-0/+1
| | | | | | Same issue as with conditional_render. Reviewed-by: Brian Paul <[email protected]>
* gallium: add PIPE_CAP_CONDITIONAL_RENDERMarek Olšák2011-09-301-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_SAMPLERSMarek Olšák2011-09-301-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_REPEATMarek Olšák2011-09-301-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 stateChristoph Bumiller2011-09-283-1/+5
|
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-182-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 Lee2011-09-161-1/+1
| | | | Reviewed-by: Chia-I Wu <[email protected]>
* nvc0: implement resource_resolveChristoph Bumiller2011-09-144-5/+532
|
* nv50/ir: add missing license headersChristoph Bumiller2011-09-144-0/+84
|
* nvc0: emit tessellation mode and patch size in TCP/TEP validationChristoph Bumiller2011-09-141-1/+12
|
* nv50,nvc0: handle PIPE_CAP_MIN/MAX_TEXEL_OFFSETChristoph Bumiller2011-09-141-0/+4
|
* nvc0: remove old shader backend filesChristoph Bumiller2011-09-147-7270/+0
|
* nvc0: hook up to new shader code generatorChristoph Bumiller2011-09-148-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 codeChristoph Bumiller2011-09-146-1/+3039
|
* nvc0: prevent interruption of m2mf pushChristoph Bumiller2011-09-141-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 constChristoph Bumiller2011-09-142-3/+3
|
* nv50/nvc0: add support for R4A4_UNORM and A4R4_UNORM formatsMarcin Slusarz2011-09-131-0/+8
| | | | R4A4 is needed by OSD in mplayer's xvmc output