summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-042-16/+4
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| * gallium: adapt nv drivers to interface cleanupsRoland Scheidegger2009-12-022-16/+4
| |
* | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-012-75/+75
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-242-41/+41
| | | | | | | | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
| * | tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-242-9/+9
| | | | | | | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect
| * | tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-242-6/+6
| | | | | | | | | | | | DeclarationRange -> Range
| * | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-242-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
| * | tgsi: reduce repetition of structure name in its membersKeith Whitwell2009-11-242-13/+13
| | | | | | | | | | | | | | | Rename Semantic.SemanticName to Semantic.Name. Similar for SemanticIndex, and the members of the tgsi_version struct.
| * | gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell2009-11-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
* | | nv: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| |/ |/|
* | Merge branch 'width0'Roland Scheidegger2009-11-273-27/+26
|\ \ | |/ |/| | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
| * gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger2009-11-263-27/+26
| | | | | | | | width/height/depth arrays
* | nouveau: nv30: Check for NULL front (happens with DRI2)Patrice Mandin2009-11-171-1/+4
| |
* | nouveau: nv30: Add missing include to fix warningPatrice Mandin2009-11-171-4/+5
|/
* nouveau: Assume all texture blankets are linear for now.Younes Manton2009-11-011-0/+3
|
* nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton2009-10-312-0/+4
|
* nouveau: nv30: Relax some limits. We can render to z24s8 buffer even if ↵Patrice Mandin2009-10-232-3/+9
| | | | color buffer is 16 bits.
* nouveau: nv30: use r5g6b5 as z16 formatPatrice Mandin2009-10-231-1/+1
|
* gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell2009-10-231-15/+2
| | | | | | Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
* gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell2009-10-231-19/+5
| | | | | | | | | These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
* gallium: remove noise opcodesKeith Whitwell2009-10-231-6/+0
| | | | | | | | | | | Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
* nouveau: nv30: rewrite so we can render only in depth bufferPatrice Mandin2009-10-221-20/+35
|
* nouveau: nv30: use a8r8g8b8 as depth texture format for z24s8Patrice Mandin2009-10-221-4/+4
|
* nouveau: nv30: Do not use assert to return NULLPatrice Mandin2009-10-211-1/+1
|
* nouveau: nv30: check number of colour buffers to bindPatrice Mandin2009-10-211-0/+4
|
* nouveau: implement is_{texture,buffer}_referenced properlyBen Skeggs2009-10-192-33/+3
|
* nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will ↵Patrice Mandin2009-10-171-2/+1
| | | | never be use for front buffer.
* nouveau: nv30: Use same workaround as i915 for segfault related to vboPatrice Mandin2009-10-171-6/+13
|
* nouveau: nv30: Hack to enforce same number of bits as front buffer, for ↵Patrice Mandin2009-10-151-8/+22
| | | | render targets
* nouveau: nv30: refuse binding a colour buffer with a zeta buffer with ↵Patrice Mandin2009-10-151-0/+7
| | | | different bits, till the backend can tell Mesa not to do that.
* nouveau: nv30: use texture width,height for render target dimensionsPatrice Mandin2009-10-131-3/+2
|
* Add support for more 8 and 16 bits formatsPatrice Mandin2009-10-121-0/+5
|
* gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-021-21/+5
| | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
* gallium: Deprecate PIPE_CAP_S3TC.José Fonseca2009-09-161-2/+0
| | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported.
* nouveau: nv30: wrong variable for formatPatrice Mandin2009-07-221-1/+1
|
* gallium: simplify tgsi_full_immediate structKeith Whitwell2009-07-222-8/+8
| | | | | | | | | | | | | Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
* gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin2009-07-141-0/+2
| | | | default extension list
* nouveau: return some supported zeta formatsBen Skeggs2009-07-012-0/+9
|
* nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs2009-07-011-0/+2
|
* nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs2009-06-053-23/+24
|
* nouveau: move channel creation into pipe driversBen Skeggs2009-06-054-35/+32
|
* nouveau: call notifier/grobj etc funcs directlyBen Skeggs2009-06-053-52/+57
| | | | | libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer.
* nv30: remove u_simple_screen usageBen Skeggs2009-06-054-48/+31
|
* nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs2009-06-055-27/+33
|
* nouveau: call nouveau_pushbuf directly rather than going through nvwsBen Skeggs2009-06-051-1/+1
|
* gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom2009-04-151-0/+26
| | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: remove pipe_texture::compressed fieldBrian Paul2009-04-101-1/+0
| | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-042-5/+7
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-263-10/+0
|
* nouveau: bypass_vs_clip_and_viewportYounes Manton2009-03-141-1/+2
|