summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-06-16draw: add alloc checkAlan Hourihane
2010-06-16draw: handle some out of memory conditionsAlan Hourihane
2010-06-16graw: add a gs test for non-sequential inputsZack Rusin
2010-06-15draw: Remove unnecessary headers.Vinson Lee
2010-06-15gs: make sure we end primitives when finishing executing shadersZack Rusin
2010-06-15draw/gs: make sure gs works with elts and doesn't overrun the bufferZack Rusin
2010-06-15graw: test multiple cb's in geometry shadersZack Rusin
2010-06-15graw: fix setup for multiple constant buffersZack Rusin
2010-06-15draw: run the pipeline with the correct number of vertsZack Rusin
verts per primitive, not total count
2010-06-15draw: fix primitive indexing in the pipelineZack Rusin
spotted by Keith
2010-06-15draw: finish the new pipeline setupZack Rusin
Keith came up with a new way of running the pipeline which involves passing a few info structs around (for fetch, vertices and prims) and allows us to correctly handle cases where we endup with multiple primitives generated by the pipeline itself.
2010-06-15softpipe/gs: fix a crash when a gs isn't presentZack Rusin
2010-06-15draw wipKeith Whitwell
2010-06-14r300g: initialize US_CODE_BANK on r4xxMarek Olšák
2010-06-14gallivm: Omit references to NoFramePointerElimNonLeafJosé Fonseca
It was added after 2.7.
2010-06-14util: Use int type for format field width.José Fonseca
As suggested by gcc warning.
2010-06-14gallivm: Override some of the default target options.José Fonseca
In particular: - enable LLVM <-> GDB integration for JIT code - disable frame-pointer elimination on debug/profile builds - enable fast-math.
2010-06-14gallivm: Use func_to_pointer().José Fonseca
2010-06-14util: Add a func_to_pointer util function too.José Fonseca
2010-06-14graw: small fixups for the gs examplesZack Rusin
2010-06-14r300g: fix uploading RC state shader constants on r3xxMarek Olšák
I've messed this up in one of my previous commits. Reported-by: Igor Murzov
2010-06-14r300g: drop begin_cs/end_csMarek Olšák
I have had a look at the libdrm sources and they just contain more or less the same checking we do in macros, and begin_cs may realloc the CS buffer if we overflow it, which never happens with r300g. So these are pretty much useless. There is a small but measurable performance increase by dropping the two functions.
2010-06-14r300g: rewrite occlusion queriesMarek Olšák
The previous implementation had issues with queries spanning over several command streams as well as using a very large number of queries. This fixes flickering in Enemy Territory: Quake Wars. The driver now renders everything correctly in this game and the graphics is awesome.
2010-06-14r300g: emit viewport state as a dword tableMarek Olšák
2010-06-14r300g: subclass pipe_surfaceMarek Olšák
2010-06-14r300g: simplify reloc macrosMarek Olšák
2010-06-14r300g: count CS dwords on debug builds onlyMarek Olšák
2010-06-13r300g: optimize emission of fragment shader constantsMarek Olšák
2010-06-13r300g: turn fragment shader into a CBMarek Olšák
2010-06-13r300g: turn depth stencil state into a CBMarek Olšák
2010-06-13r300g: turn clip state into a CBMarek Olšák
2010-06-13r300g: turn blend color into a CBMarek Olšák
2010-06-13r300g: turn blend state into a CBMarek Olšák
2010-06-13r300g: add API for building command buffersMarek Olšák
The idea is to build a hardware command buffer for every CSO and memcpy the buffer to a command stream at bind time (or dirty-state-emission time, to be precise).
2010-06-13r300g: inline FLUSH_CSMarek Olšák
The fewer macros, the better.
2010-06-13r300g: reorder CS macros and document them a littleMarek Olšák
2010-06-13r300g: drop DBG_CSMarek Olšák
I'd like the CS macros to be as lightweight as possible for performance reasons.
2010-06-13r300g: inline CHECK_CSMarek Olšák
2010-06-13r300g: replace r300_cs_info with simplier get_cs_free_dwordsMarek Olšák
2010-06-13r300g: fix multiple render targetsMarek Olšák
This fixes tests/drawbuffers.
2010-06-13r300g: remove r300_state.hMarek Olšák
2010-06-13r300g: move two-sided stencilref fallback to its own fileMarek Olšák
2010-06-13r300g: move index buffer translate functions to their new homeMarek Olšák
2010-06-13r300g: add fallback for unaligned/unsupported vertex stride/offset/formatMarek Olšák
There is a problem though, the translate module cannot emit half float vertices.
2010-06-13r300g: upload only vertex buffers referenced by vertex elementsMarek Olšák
2010-06-12draw/gs: copy the outputs only if we emitted somethingZack Rusin
2010-06-12softpipe: small cleanupZack Rusin
2010-06-11scons: Disable i965g build if using MSVC.Vinson Lee
i965g uses C99 constructs that are not supported by MSVC.
2010-06-11scons: Disable i915g build if using MSVC.Vinson Lee
i915g uses C99 constructs that are not supported by MSVC.
2010-06-11r300/compiler: Implement simple loop emulationTom Stellard
The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.