summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-25tgsi: Fix token builder.Michal Krol
2009-11-25tgsi: Update raw token dumper after token definition changes.Michal Krol
2009-11-24tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
2009-11-24tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell
DstRegister -> Register DstRegisterInd -> Indirect
2009-11-24tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell
DeclarationRange -> Range
2009-11-24tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
2009-11-24tgsi: reduce repetition of structure name in its membersKeith Whitwell
Rename Semantic.SemanticName to Semantic.Name. Similar for SemanticIndex, and the members of the tgsi_version struct.
2009-11-24tgsi: remove unnecessary full_token init and free functionsKeith Whitwell
2009-11-24tgsi: remove unused Flags member from full_instructionKeith Whitwell
2009-11-24gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell
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.
2009-11-24gallium: simplify tgsi tokens furtherKeith Whitwell
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.
2009-11-24tgsi: Document Declaration Semantic token and FACE semantic name.Michal Krol
2009-11-24slang: Fix allocation size.Michal Krol
We don't need 16K+ to store a single pointer.
2009-11-24mesa: Fix pointer arithmetic.Michal Krol
2009-11-24tgsi: Implement predicated instructions in exec.Michal Krol
2009-11-24tgsi: Add ureg_DECL_loop().Michal Krol
2009-11-24tgsi: Account for gallium shader token representation changes.Michal Krol
2009-11-24gallium: Refactor the instruction predicate TGSI token.Michal Krol
Rename it to tgsi_instruction_predicate -- it's no longer an extended token. Its presence is indicated by a new flag in tgsi_instruction that indicates whether an instruction is predicated. Also, change predicate index representation to match the other tokens that specify register indices.
2009-11-24r300: fix swtcl bo leak problem.Dave Airlie
We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24radeon/r200/r300/r600: make bo mapping be explicitDave Airlie
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-23mesa: use gcc __builtin_popcount()Brian Paul
2009-11-23r300g: use util_bitcount()Brian Paul
2009-11-23egl: use util_bitcount()Brian Paul
2009-11-23gallium/util: added util_bitcount()Brian Paul
2009-11-23Merge commit 'origin/mesa_7_7_branch'Maciej Cencora
2009-11-23radeon: fix errors in miptree related functionMaciej Cencora
- typo - memory leak - off by one (spotted by airlied)
2009-11-23Merge branch 'mesa_7_7_branch' of ↵Maciej Cencora
http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch
2009-11-23svga: Scrub Makefiles a bitJakob Bornecrantz
Remove x86 specific hacks. Not that they will ever be used on none x86 arches, but they are built by default. And the way the flags where added was a hack.
2009-11-23slang: Check return value from emit_instruction().Michal Krol
2009-11-23tgsi: Clamp the source argument in micro_exp2() to avoid Inf.Michal Krol
2009-11-23tgsi: Remove code that actually had no effect.Michal Krol
2009-11-23softpipe: Initialise TGSI machine's Face.Michal Krol
2009-11-23tgsi: Fix POSITION and FACE fragment shader inputs.Michal Krol
2009-11-23tgsi: Bring BGNFOR/ENDFOR implementation up to spec.Michal Krol
2009-11-23tgsi: Fake TXD implementation in exec.Michal Krol
2009-11-23tgsi: Add execution debugging facilities to exec.Michal Krol
2009-11-23slang: Be more robust with memory in concat_shaders().Michal Krol
2009-11-23mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee
2009-11-23glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee
2009-11-23glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee
2009-11-23glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee
2009-11-22r600 : add support for shader instruction trunc and discard.Richard Li
2009-11-23r600: hopefully fix segfault.Dave Airlie
2009-11-23r600: fix inline issuesDave Airlie
2009-11-22r600 : add stack depth calculation, enable CF pop.Richard Li
2009-11-22r600 : use cf for all pop now, left optimization for future.Richard Li
2009-11-22r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora
2009-11-22glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee
2009-11-22glu: Fix memory leak in __gl_meshMakeEdge.Vinson Lee