summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Format layout cannot be used to distinguish scaled/normalised formats.Michal Krol2009-12-082-15/+5
|
* Remove remaining pipe format utility functions.Michal Krol2009-12-083-50/+88
| | | | | | | | | | | | | | | Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
* Remove pf_swizzle_* internal macros.Michal Krol2009-12-032-5/+12
|
* Move pf_get_component_bits() to u_format auxiliary module.Michal Krol2009-12-032-4/+10
|
* Move pf_get_bits/size() to u_format auxiliary module.Michal Krol2009-12-034-10/+15
|
* Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-033-4/+9
|
* Move pf_is_compressed() to u_format auxiliary module.Michal Krol2009-12-031-2/+3
|
* r300g, radeong: De-specialize r300_winsys into radeon_winsys.Corbin Simpson2009-12-028-86/+23
| | | | There's like five good reasons for this, I swear.
* r300g: No vertex textures here.Corbin Simpson2009-12-021-0/+7
|
* Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures ↵Brian Paul2009-12-023-21/+6
| | | | | | | | function" This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
* llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul2009-12-021-1/+1
| | | | The driver (and draw module) don't support vertex shader textures yet.
* llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures functionBrian Paul2009-12-023-6/+21
| | | | Fixes immediate segfault.
* cell: fix TGSI breakageBrian Paul2009-12-021-1/+1
|
* softpipe: setup machine->Face without a conditionalBrian Paul2009-12-011-5/+2
|
* Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-0117-651/+651
|\ | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * svga: Update text shader header.Michal Krol2009-11-271-1/+1
| |
| * tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-2413-215/+215
| | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
| * tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-2412-81/+81
| | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect
| * tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-2413-36/+36
| | | | | | | | DeclarationRange -> Range
| * tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-2412-284/+284
| | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
| * tgsi: reduce repetition of structure name in its membersKeith Whitwell2009-11-249-74/+74
| | | | | | | | | | 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-249-17/+17
| | | | | | | | | | | | | | | | 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.
| * gallium: simplify tgsi tokens furtherKeith Whitwell2009-11-242-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop anonymous 'Extended' fields, have every optional token named explicitly in its parent. Eg. there is now an Instruction.Label flag, etc. Drop destination modifiers and other functionality which cannot be generated by tgsi_ureg.c, which is now the primary way of creating shaders. Pull source modifiers into the source register token, drop the second negate flag. The source register token is now full - if we need to expand it, probably best to move all of the modifiers to a new token and have a single flag for it.
* | Merge commit 'origin/mesa_7_7_branch'Keith Whitwell2009-12-0116-120/+256
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
| * | svga: Re-add shader dumping.José Fonseca2009-11-271-0/+14
| | |
| * | svga: Handle comment tokens when dumping.José Fonseca2009-11-272-1/+12
| | |
| * | svga: Use consistent names for public symbol names of shader dumping facilities.José Fonseca2009-11-275-12/+12
| | |
| * | svga: Use consistent file names for dumping facilities.José Fonseca2009-11-2710-11/+11
| | |
| * | svga: flush our command buffer after the 8th distinct render targetKeith Whitwell2009-11-273-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps improve the surface cache behaviour in the face of the large number of single-use render targets generated by EXA and the xorg state tracker. Without this we can reference hundreds of individual render targets from a command buffer, which leaves little scope for sharing or reuse of those targets. Flushing early means we can start reusing textures much sooner. This shouldn't have much effect on normal 3d rendering as it's pretty rare to have a command buffer with >8 different render targets in that world.
| * | svga: add DEBUG_CACHE optionKeith Whitwell2009-11-278-9/+53
| | |
| * | svga: hash the whole key, not just the first four bytesKeith Whitwell2009-11-261-3/+3
| | |
| * | svga: Remove spurious argument to SVGA_DBG.José Fonseca2009-11-261-1/+1
| | |
| * | svga: try harder to make the cachable flag workKeith Whitwell2009-11-252-6/+19
| | | | | | | | | | | | It doesn't though.
| * | svga: revert packing of surface keyKeith Whitwell2009-11-251-3/+3
| | | | | | | | | | | | Over-ambitious packing of values broke my cursor.
| * | svga: cache textures as well as buffersKeith Whitwell2009-11-245-117/+167
| | |
| * | svga: Filter out pendantic and ansi flagsJakob Bornecrantz2009-11-241-0/+3
| | | | | | | | | | | | | | | Rather have the driver compile without the flags then having to disable them.
* | | r300g: simplify allocations of VS output registersMarek Olšák2009-12-011-56/+26
| | | | | | | | | | | | | | | | | | | | | No need to parse TGSI tokens since it's easier to walk through shader semantics. Also fog coordinates now work reliably.
* | | r300g: simplify allocations of FS input registersMarek Olšák2009-12-011-28/+15
| | |
* | | r300g: clean up derived statesMarek Olšák2009-12-016-229/+311
| | | | | | | | | | | | | | | The state setups which aren't derived anymore have been moved to the VS and FS objects.
* | | r300g: VS->FS attribute routing reworkMarek Olšák2009-12-011-170/+392
| | | | | | | | | | | | | | | Now it always correctly pairs up VS and FS even if the semantics and indices of VS outputs and FS inputs don't match.
* | | r300g: add R300 prefix in reg definitionsMarek Olšák2009-12-011-41/+41
| | |
* | | trace: Implement separate vertex sampler state.Michal Krol2009-12-012-8/+71
| | |
* | | fo: Implement separate vertex sampler state.Michal Krol2009-12-013-7/+82
| | |
* | | id: Implement separate vertex sampler state.Michal Krol2009-12-011-9/+49
| | |
* | | trace: Reduce double semicolons to single ones.Michal Krol2009-12-011-30/+30
| | |
* | | sp: Do not falsely advertise support for some SNORM formats.Michal Krol2009-12-011-0/+4
| | |
* | | sp: Implement separate vertex sampler state.Michal Krol2009-12-017-11/+116
| | |
* | | trace: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-6/+6
| | |
* | | svga: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| | |
* | | r300: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| | |