summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/translate
AgeCommit message (Collapse)Author
2010-05-03translate: Make translate_generic truly generic.José Fonseca
PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support.
2010-04-26translate: Take and respect a max_index argument.José Fonseca
2010-03-12gallium: fix BGRA vertex color swizzlesMarek Olšák
The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-03-01translate: Rename pipe formats.José Fonseca
2010-01-05gallium: Handle InstanceID as a true 32-bit uint.Michal Krol
2010-01-05Merge branch 'master' into instanced-arraysMichal Krol
Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2009-12-30Add lame support for instanceID to draw module.Michal Krol
It's all screaming for integer support -- fake it with float for now.
2009-12-30Implement instanced indexed draw.Michal Krol
2009-12-30translate: Fix a call to indexed SSE run.Michal Krol
2009-12-30translate: Implement instancing for linear SSE run.Michal Krol
2009-12-29Implement draw_arrays_instanced() in softpipe.Michal Krol
Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
2009-12-29translate: Fix translate_key_compare().Michal Krol
Sizes of translate keys must also match.
2009-10-02gallium: replace // comments with /* */Brian Paul
2009-03-25translate: Avoid unused variable warning.José Fonseca
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
2008-11-14translate: pull in prefetch and other optimizations from draw_vs_aos.cKeith Whitwell
2008-09-03gallium: silence warningsBrian Paul
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-14translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements.José Fonseca
2008-06-24gallium: Avoid double arithmetic.José Fonseca
2008-06-23gallium: added support for fixed-point formats, drawingBrian Paul
2008-05-30Merge branch 'gallium-tex-surfaces' into gallium-0.1Jakob Bornecrantz
Conflicts: src/gallium/drivers/i915simple/i915_context.h
2008-05-29gallium: MSVC warning fixes.José Fonseca
Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c src/gallium/auxiliary/draw/draw_pt_varray_tmp.h src/gallium/auxiliary/draw/draw_pt_vcache.c
2008-05-28translate: Mark functions as PIPE_CDECL.José Fonseca
2008-05-28Merge branch 'gallium-vertex-linear' into gallium-0.1Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
2008-05-28gallium: Windows CE portability fixes.José Fonseca
2008-05-23translate: mark functions as PIPE_CDECLKeith Whitwell
2008-05-23translate: remove spurious commentKeith Whitwell
2008-05-12translate: helper functions for mimizing cost of key comparesKeith Whitwell
2008-05-09translate: helper functions for mimizing cost of key comparesKeith Whitwell
2008-05-08draw: only fill in / compare the part of the translate key we're using.Keith Whitwell
It's quite a big struct & we examine it a lot (too much). Reduce the impact of this by just looking at the active part where possible.
2008-05-01rtasm: fix labels after (not so) recent change to allow dynamic fn growthKeith Whitwell
Using char * for labels doesn't work if you realloc the function during assembly and free the old storage...
2008-04-28translate: squash warningsKeith Whitwell
2008-04-24translate: Actually return a value from translate_cache_create().Michal Krol
2008-04-23Create a sharable translate_cache and use it.Zack Rusin
2008-04-23fix non-i386 buildsBen Skeggs
2008-04-21translate: fail on x86 rtasm failKeith Whitwell
2008-04-19translate: fix several bugsKeith Whitwell
- specify cdecl calling convention on WIN32 - fix load bgra8 function - fix previous don't crash fix.
2008-04-19translate: don't crash on failure to create sse versionKeith Whitwell
2008-04-18translate: missing fileKeith Whitwell
2008-04-18translate: add sse version based on old draw_vf_sse.cKeith Whitwell
2008-04-16gallium: Get the translate module to build on msvc.José Fonseca
Appearently MSVC c-preprocessor parses "255.0f" as two tokens: "255.0" and "f", and performs variable substitution on "f".
2008-04-16gallium: Build and link the translate module.José Fonseca
2008-04-15gallium: Switch one vertex path over to new translate moduleKeith Whitwell
Will eventually do this for all instances where we are converting vertices from one format to another.
2008-04-15translate: typo in emit_B8G8R8A8_UNORMKeith Whitwell
2008-04-15gallium: add a generic vertex (or other) buffer translation moduleKeith Whitwell