summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2009-06-08pipebuffer: Silence out of heap space debug printJakob Bornecrantz
2009-06-04tgsi: increase MAX_LABELS to 4096Brian Paul
2009-06-02util: Unsaved change missing from last commit.José Fonseca
2009-06-02util: Support Z24S8/Z24X8 -> unsigned conversion.José Fonseca
2009-06-02util: Fix 24 to 32 bit expansion binary arithmetic expression.José Fonseca
When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the 8 least significant bits of y should come from the 8 most significant bits of x.
2009-06-01gallium/draw: Free specialized versions of driver shadersKeith Whitwell
The pstipple, aaline and aapoint code would create specialized versions of shaders and upload them to the driver -- but never free them.
2009-06-01draw: free more token arraysKeith Whitwell
The AA line and point code also needs to free token arrays after building driver shaders.
2009-06-01draw: avoid leaking tokens when building pstipple fragment shaderKeith Whitwell
Add missing FREE() after MALLOC().
2009-06-01draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul
Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage.
2009-05-08util/upload: catch failures to map_range and return errorKeith Whitwell
Caller may be able to do something about this - eg flush and retry.
2009-05-08util: Limit the stack walk to avoid referencing undefined memory.José Fonseca
2009-05-08gallium/tgsi: hack around linker/archiver breakageKeith Whitwell
Add a dummy function which exists only so that tgsi_text_translate() doesn't get magic-ed out of the libtgsi.a archive by the build system. Don't remove unless you know this has been fixed - check on mingw/scons builds as well.
2009-05-08gallium/draw: cope with unused vertex_elementsKeith Whitwell
2009-05-08pb: Save the stack backtrace when creating/mapping a debug buffer.José Fonseca
2009-05-08pb: Dump the fenced buffer sizes.José Fonseca
2009-05-05gallium: fix texcoords for cubemap mipmap generationBrian Paul
We need to use (s,t,r) cubemap coords when sampling from the cubemap texture so the rendered quad gets texture samples from the correct cube face.
2009-04-29tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled)Brian Paul
The TGSI interpeter operates in SOA style. We need to check for data dependencies in instructions which read from and write to the same register. For now just adding some debug code to detect that condition. Actual fixes to follow.
2009-04-28gallium/draw: add ability to print out active pipeline stagesKeith Whitwell
2009-04-28util/indices: remove debug printsKeith Whitwell
2009-04-27util: Remove unix includes.José Fonseca
2009-04-27util/time: add util_time_sleep() for windows userspaceKeith Whitwell
Somebody with a clue could probably do a better implemenation...
2009-04-24util: Add debug_printf_onceMicah Dowty
2009-04-24tgis: SSE code generator doesn't yet support indirect addressing of temp regsBrian Paul
Fall back to interpreter in this case.
2009-04-24pipebuffer: don't fail when validating mapped buffersKeith Whitwell
This can be almost impossible to avoid - hopefully we won't encounter a situation where this is a true requirement. Would probably require drivers to flush between hardware and software vertex processing.
2009-04-24util: Add more entry points for dumping to bmpJakob Bornecrantz
2009-04-22gallium: license, copyrightBrian Paul
2009-04-20util: don't set unused blend stateKeith Whitwell
Try to avoid creating multiple blend atoms.
2009-04-17util: flush stdout before emitting debug_printf on stderrKeith Whitwell
A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf().
2009-04-15util: Fix surface usageJakob Bornecrantz
2009-04-15gallium: new, simple RGBA surface create/destroy helpersBrian Paul
Use these for quickly creating an RGBA drawing surface.
2009-04-10tgsi/sse2: Cleanup NRM/NRM4 implementation.Michal Krol
Fix comments. Make sure .w is set to 1.0 for NRM. Optimise for non-.xyzw writemasks.
2009-04-10rtasm: Silence `static function not used' warning.Michal Krol
2009-04-10draw: Silence pointer-to-integer cast warning.Michal Krol
2009-04-10draw: Fix vertex_header initialisation.Michal Krol
2009-04-09tgsi/sse2: Fix build.Michal Krol
2009-04-09draw: Fix LIT instruction.Michal Krol
2009-04-09gallium: remove unneeded compressed=0 assignmentBrian Paul
2009-04-09tgsi/sse2: Fix ARL instruction.Michal Krol
2009-04-09tgsi/sse2: Fix LIT instruction.Michal Krol
2009-04-08gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)Brian Paul
Fixes failed assertion in glean fbo test.
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-04-04gallium: Add utility helper for packing combined depth/stencil values.Michel Dänzer
2009-04-03tgsi/exec: Actually enable switch-case for FLR.Michal Krol
2009-04-03tgsi/text: Allow optional component selection for indirect registers.Michal Krol
2009-04-03util/debug: Initialise local variables.Michal Krol
2009-04-03tgsi/text: Allow `-|src|` variant of `-(|src|)`.Michal Krol
2009-04-01util: Fix x86_64 build.José Fonseca
2009-04-01util: Lookup symbol names from addresses.José Fonseca
Nice for stack backtraces. Windows-only for now.
2009-04-01tgsi: Fix structure members initialisation.Michal Krol
2009-04-01tgsi: Lookup alternate instruction mnemonics when parsing tgsi text.Michal Krol