summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: add support for GF119 (NVD9)Ben Skeggs2011-11-171-0/+1
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* 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
|
* nv50: fix max texture levelsAdel Gadllah2011-10-241-3/+3
| | | | | MAX_TEXTURE_2D_LEVELS and MAX_TEXTURE_CUBE_LEVELS are supposed to be 14 not 13, while MAX_TEXTURE_3D_LEVELS should be 12 not 10.
* nv50/ir: import SM4 converterChristoph Bumiller2011-10-214-4/+2513
|
* nouveau,nvc0: fix/improve handling of multiple constant buffersChristoph Bumiller2011-10-212-0/+39
|
* nvc0: add support for linear and buffer textures and RTsChristoph Bumiller2011-10-213-14/+65
|
* nvc0: fixes for program tessellation parametersChristoph Bumiller2011-10-211-0/+19
|
* nv50,nvc0: reset per-instance state for inactive vertex elementsChristoph Bumiller2011-10-211-0/+4
|
* nv50,nvc0: reset base element in draw_arraysChristoph Bumiller2011-10-211-0/+6
| | | | It affects VERTEX_BUFFER_FIRST,COUNT submission, too.
* nv50/ir: use RDSV to fetch FrontFacing before loweringChristoph Bumiller2011-10-213-0/+22
|
* nv50/ir: fix textureGrad with offsets and in non-FPsChristoph Bumiller2011-10-212-0/+3
|
* nv50/ir: add wrap mode for shift operationsChristoph Bumiller2011-10-212-0/+3
| | | | D3D1x specifies that only the low 5 bit of the shift are used.
* nv50/ir: initialize RelocInfo to 0Christoph Bumiller2011-10-211-0/+2
|
* nv50/ir: fix argument count for CUBE_ARRAY texture targetChristoph Bumiller2011-10-211-1/+1
|
* nv50/ir: initialize default prog_info values for GP,TPChristoph Bumiller2011-10-211-0/+10
|
* nv50/ir: fix memory value equality checkChristoph Bumiller2011-10-211-1/+1
|
* nv50/ir: fix leak in removal of graph rootChristoph Bumiller2011-10-211-5/+5
|
* nv50,nvc0: extend formats table for integer formatsChristoph Bumiller2011-10-152-567/+407
|
* nv50: don't crash on TXD opcodeMarcin Slusarz2011-10-111-0/+2
| | | | | | It doesn't implement full TXD, but at least it does not crash. Fixes arb_shader_texture_lod-texgrad and glsl-fs-shadow2DGradARB-* piglit tests.
* 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]>
* nouveau: hide some debugging messages behind environment variableMarcin Slusarz2011-10-091-2/+3
| | | | | They spam console, but are not very useful - hide them behind NOUVEAU_MESA_DEBUG environment variable.
* 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-2/+4
|
* gallium: move border color to be a color unionDave Airlie2011-09-271-4/+4
| | | | | | | | | | EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* 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]>
* nv50/ir: add missing license headersChristoph Bumiller2011-09-1420-1/+400
|
* nv50,nvc0: handle PIPE_CAP_MIN/MAX_TEXEL_OFFSETChristoph Bumiller2011-09-141-0/+4
|
* nvc0: hook up to new shader code generatorChristoph Bumiller2011-09-142-0/+14
| | | | | | 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-1421-1/+13395
|
* nouveau: make data argument of nouveau_context::push_data constChristoph Bumiller2011-09-142-2/+2
|
* 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
* gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERSMarek Olšák2011-09-101-1/+1
| | | | v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
* nv50: fix screen->blitctx memory leakMarcin Slusarz2011-09-081-0/+2
|
* nv50,nvc0: fix multisample format hackChristoph Bumiller2011-08-311-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.
* nouveau: use PRIu64 for printing uint64_tChristoph Bumiller2011-08-301-1/+1
|
* nv50: add support for linear textures and render targetsChristoph Bumiller2011-08-305-13/+60
|
* nv50: align pitch of linear surfaces correctlyChristoph Bumiller2011-08-301-1/+2
|
* nv50: handle TGSI_OPCODE_ROUNDChristoph Bumiller2011-08-305-3/+10
| | | | Will round to nearest-even.
* nv50,nvc0: add states mask to state validation functionChristoph Bumiller2011-08-304-12/+16
| | | | | | 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 surfacesChristoph Bumiller2011-08-301-1/+6
| | | | | | 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 nouveauChia-I Wu2011-08-271-0/+37
| | | | Compile tested only.
* nouveau: share the source listsChia-I Wu2011-08-273-47/+27
| | | | | For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* nv50: fix potential null deref in insn modifer optimization passChristoph Bumiller2011-08-191-2/+4
| | | | Bug introduced in 34980cd153050111edc545545ddff11f5b68347e.