summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12i965: Fix gen6 front cull mode.Eric Anholt
2010-06-12i965: Use the new message header format for FF_SYNC on gen6.Zhenyu Wang
2010-06-12i965: Add support for math instructions in the gen6 WM.Zhenyu Wang
2010-06-12i965: Set the correct WM GRF start reg on gen6.Zhenyu Wang
2010-06-12i965: Update gen6 paths for the streaming rework.Eric Anholt
2010-06-12i965: Stream out CC unit state.Eric Anholt
before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 31.791 32.287 1.11% 6/6 after: [ 0] gl firefox-talos-gfx 31.198 31.675 0.96% 6/6
2010-06-12draw/gs: copy the outputs only if we emitted somethingZack Rusin
2010-06-12softpipe: small cleanupZack Rusin
2010-06-12r300/compiler: fix scons buildJoakim Sindholt
2010-06-12i965: Remove unnecessary header.Vinson Lee
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-11ir_constant: Eliminate 'void *' constructorIan Romanick
All of the places that had been using the (glsl_type *, void *) constructor were actually passing an ir_constant_data for the 'void *'. The code can be greatly simplified by replacing this constructor with a (glsl_type *, ir_constant_data *) constructor. This should also help prevent one class of invalid uses of the old constructor.
2010-06-11Use statically typed ir_constant constructors wherever possibleIan Romanick
2010-06-11ir_reader: Use 'union ir_constant_data' in read_constantIan Romanick
2010-06-11ir_constant_visitor: Type of constant result is same as original expressionIan Romanick
The type of the resulting constant must be the same as the type of the original expression. The changes to the code require that the case where an unhandled expression is received, and there really shouldn't be any of these, must be an exit point.
2010-06-11ir_constant_visitor: Types of ir_binop_{equal,nequal} must matchIan Romanick
The types must match exactly, so there is no reason to check the types here.
2010-06-11ir_constant_visitor: Use 'union ir_constant_data' in expression handlerIan Romanick
2010-06-11ir_constant_visitor: Use 'union ir_constant_data' instead of open-coded versionIan Romanick
2010-06-11Matrix and vector constructors with a single constant scalar are constantIan Romanick
2010-06-11ir_constant_visitor: Handle bool-to-int and int-to-boolIan Romanick
2010-06-11Treat ?: with all constant subexpressions as a constant expressionIan Romanick
2010-06-11Rearrange code in HIR conversion of ?: operatorIan Romanick
There are no functional changes. Code is just moved arround. This prepares for the next set of changes that do change the functionality.
2010-06-11ir_constant_visitor: Handle constant swizzlesIan Romanick
2010-06-11ir_constant_visitor: Handle array access of constant vectors and matricesIan Romanick
2010-06-11Remove redundant type checks for constant constructorsIan Romanick
All of the cases (e.g., arrays and structures) that were being filtered by these tests were already filtered by the earlier is_numeric and is_boolean tests.
2010-06-11Do simple constant folding while processing function call parametersIan Romanick