summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate
Commit message (Collapse)AuthorAgeFilesLines
* translate: Make translate_generic truly generic.José Fonseca2010-05-031-301/+90
| | | | | PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support.
* translate: Take and respect a max_index argument.José Fonseca2010-04-263-8/+24
|
* gallium: fix BGRA vertex color swizzlesMarek Olšák2010-03-122-6/+6
| | | | | | | | | | | | | | 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 <[email protected]>
* translate: Rename pipe formats.José Fonseca2010-03-012-6/+6
|
* gallium: Handle InstanceID as a true 32-bit uint.Michal Krol2010-01-051-18/+5
|
* Merge branch 'master' into instanced-arraysMichal Krol2010-01-052-24/+0
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
| * gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-12/+0
| |
| * scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-12/+0
| | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | Add lame support for instanceID to draw module.Michal Krol2009-12-303-31/+71
| | | | | | | | It's all screaming for integer support -- fake it with float for now.
* | Implement instanced indexed draw.Michal Krol2009-12-303-12/+23
| |
* | translate: Fix a call to indexed SSE run.Michal Krol2009-12-301-0/+2
| |
* | translate: Implement instancing for linear SSE run.Michal Krol2009-12-301-34/+120
| |
* | Implement draw_arrays_instanced() in softpipe.Michal Krol2009-12-293-3/+16
| | | | | | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
* | translate: Fix translate_key_compare().Michal Krol2009-12-291-2/+7
|/ | | | Sizes of translate keys must also match.
* gallium: replace // comments with /* */Brian Paul2009-10-021-1/+1
|
* translate: Avoid unused variable warning.José Fonseca2009-03-251-0/+2
|
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-3/+0
| | | | | | | | 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.
* translate: pull in prefetch and other optimizations from draw_vs_aos.cKeith Whitwell2008-11-142-112/+204
|
* gallium: silence warningsBrian Paul2008-09-031-0/+6
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-244-4/+3
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements.José Fonseca2008-08-141-1/+1
|
* gallium: Avoid double arithmetic.José Fonseca2008-06-241-1/+1
|
* gallium: added support for fixed-point formats, drawingBrian Paul2008-06-231-0/+18
|
* Merge branch 'gallium-tex-surfaces' into gallium-0.1Jakob Bornecrantz2008-05-301-3/+3
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/i915simple/i915_context.h
| * gallium: MSVC warning fixes.José Fonseca2008-05-291-1/+1
| | | | | | | | | | | | | | | | 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
| * translate: Mark functions as PIPE_CDECL.José Fonseca2008-05-281-2/+2
| |
* | Merge branch 'gallium-vertex-linear' into gallium-0.1Jakob Bornecrantz2008-05-283-37/+25
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
| * translate: mark functions as PIPE_CDECLKeith Whitwell2008-05-233-30/+24
| |
| * translate: remove spurious commentKeith Whitwell2008-05-231-7/+1
| |
| * translate: helper functions for mimizing cost of key comparesKeith Whitwell2008-05-121-0/+21
| |
* | gallium: Windows CE portability fixes.José Fonseca2008-05-283-121/+123
| |
* | translate: helper functions for mimizing cost of key comparesKeith Whitwell2008-05-091-0/+21
|/
* draw: only fill in / compare the part of the translate key we're using.Keith Whitwell2008-05-081-3/+2
| | | | | 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.
* rtasm: fix labels after (not so) recent change to allow dynamic fn growthKeith Whitwell2008-05-011-1/+1
| | | | | Using char * for labels doesn't work if you realloc the function during assembly and free the old storage...
* translate: squash warningsKeith Whitwell2008-04-282-2/+3
|
* translate: Actually return a value from translate_cache_create().Michal Krol2008-04-241-0/+1
|
* Create a sharable translate_cache and use it.Zack Rusin2008-04-235-2/+157
|
* fix non-i386 buildsBen Skeggs2008-04-231-0/+2
|
* translate: fail on x86 rtasm failKeith Whitwell2008-04-211-0/+5
|
* translate: fix several bugsKeith Whitwell2008-04-192-25/+28
| | | | | | - specify cdecl calling convention on WIN32 - fix load bgra8 function - fix previous don't crash fix.
* translate: don't crash on failure to create sse versionKeith Whitwell2008-04-192-7/+17
|
* translate: missing fileKeith Whitwell2008-04-181-0/+46
|
* translate: add sse version based on old draw_vf_sse.cKeith Whitwell2008-04-184-1/+624
|
* gallium: Get the translate module to build on msvc.José Fonseca2008-04-161-16/+16
| | | | | Appearently MSVC c-preprocessor parses "255.0f" as two tokens: "255.0" and "f", and performs variable substitution on "f".
* gallium: Build and link the translate module.José Fonseca2008-04-161-1/+1
|
* gallium: Switch one vertex path over to new translate moduleKeith Whitwell2008-04-152-21/+81
| | | | | Will eventually do this for all instances where we are converting vertices from one format to another.
* translate: typo in emit_B8G8R8A8_UNORMKeith Whitwell2008-04-151-4/+4
|
* gallium: add a generic vertex (or other) buffer translation moduleKeith Whitwell2008-04-154-0/+733