summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-29i915g: Move pci id to winsys structJakob Bornecrantz
2010-05-29targets/egl: Give egl targets a good build enviromentJakob Bornecrantz
2010-05-28egl_dri2: Split driver loading out into its own functionKristian Høgsberg
2010-05-28egl_dri2: Check for xcb_connect() failure the right wayKristian Høgsberg
It always returns a valid xcb_connection_t, but if connection failed, it's in the error state.
2010-05-29r600g: fix buildMarek Olšák
2010-05-29llvmpipe: adapt to clear interface changesRoland Scheidegger
with some newfangled code, should support separate depth/stencil clears. Needs some testing.
2010-05-29i965g: adapt to clear interface changesRoland Scheidegger
just like i915g, should in theory support separate depth/stencil clears (untested), with the same 2d blitter hacks.
2010-05-29i915g: adapt to clear interface changesRoland Scheidegger
should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
2010-05-29r300g: adapt to clear interface changesRoland Scheidegger
should support separate depth/stencil clears just fine with changed u_blitter.
2010-05-29nv50: adapt to clear interface changesRoland Scheidegger
should support separate depth/stencil clears just fine.
2010-05-29nvfx: adapt to clear interface changesRoland Scheidegger
2010-05-29svga: adapt to clear interface changesRoland Scheidegger
this should support separate stencil/depth clears just fine.
2010-05-29softpipe: adapt to clear interface changesRoland Scheidegger
2010-05-29rbug: adapt to clear interface changesRoland Scheidegger
2010-05-29trace: adapt to clear interface changesRoland Scheidegger
2010-05-29identity: adapt to clear interface changesRoland Scheidegger
2010-05-29fo: adapt to clear interface changesRoland Scheidegger
2010-05-29cell: adapt to clear interface changesRoland Scheidegger
2010-05-29st/python: adapt to clear interface changesRoland Scheidegger
2010-05-28Add two more (failing) tests from the take-2 branch.Carl Worth
These tests were recently fixed on the take-2 branch, but will require additional work before they will pass here.
2010-05-28Add two (passing) tests from the take-2 branch.Carl Worth
These two tests were tricky to make work on take-2, but happen to already eb working here.
2010-05-28Tweak test 25 slightly, (so the non-macro doesn't end the file).Carl Worth
This isn't a problem here, but on the take-2 branch, it was trickier at one point to make a non-macro work when the last token of the file. So we use the simpler test case here and defer the other case until later.
2010-05-28Remove some blank lines from the end of some test cases.Carl Worth
To match what we have done on the take-2 branch to these test cases.
2010-05-28Perform macro by replacing tokens in original list.Carl Worth
We take the results of macro expansion and splice them into the original token list over which we are iterating. This makes it easy for function-like macro invocations to find their arguments since they are simply subsequent tokens on the list. This fixes the recently-introduced regressions (tests 55 and 56) and also passes new tests 60 and 61 introduced to strees this feature, (with macro-argument parentheses split between a macro value and the textual input).
2010-05-29st/mesa: use new ability to clear only depth or stencilRoland Scheidegger
2010-05-29util: adapt to clear interface changesRoland Scheidegger
2010-05-28gallium: clear interface changesRoland Scheidegger
clears were a bit limited in gallium: - no scissoring (OGL only) nor explicit rectangle list (d3d9) - no color/stencil masks (OGL only) - no separate depth/stencil clears (d3d9/d3d10/OGL) - cannot really clear single color buffer (only with resource_fill_region) Additionally, d3d can clear surfaces not currently bound to the framebuffer. It is, however, not easy to find some common ground what a clear should be able to do, due to both API requirements and also hw differences (a case which might be able to use a special clear path on one hw might need a "normal" quad render on another). Hence several clear methods are provided, and a driver should implement all of them. - clear: slightly modified to also be able to clear only depth or stencil in a combined depth/stencil surface. This is however optional based on driver capability though ideally it wouldn't be optional. AFAIK this is in fact something used by applications quite a bit. Otherwise, for now still doesn't allow clearing with scissors/mask (or single color buffers) - clearRT: clears a single (potentially unbound) color surface. This was formerly roughly known as resource_fill_region. mesa st will not currently use this, though potentially would be useful for GL ClearBuffer. - clearDS: similar to above except for depth stencil surfaces. Note that clearDS/clearRT currently handle can handle partial clear. This might change however.
2010-05-28i965: Add cache unit -> bo name mapping for more gen6 state objects.Eric Anholt
This will help in bufmgr debugging and aub dumping.
2010-05-28i965: fix PIPE_CONTROL command for gen6.Zou Nan hai
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-05-28llvmpipe: add PIPE_BUFFER to assertionBrian Paul
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
2010-05-28softpipe: add PIPE_BUFFER to assertionBrian Paul
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
2010-05-28llvmpipe: add out of memory checking to triangle setup pathBrian Paul
2010-05-28glsl: change uniform location/offset encodingBrian Paul
This lets Mesa work like other OpenGL implementations with regard to indexing uniform arrays. See comments for details. Note: this is a candidate for the 7.8 branch.
2010-05-28Simplify calling conventions of functions under expand_token_list_onto.Carl Worth
We previously had a confusing thing where _expand_token_onto would return a non-zero value to indicate that the caller should then call _expand_function_onto. It's much cleaner for _expand_token_onto to just do what's needed and call the necessary function.
2010-05-28Stop interrupting the test suite at the first failure.Carl Worth
This behavior was useful when starting the implementation over ("take-2") where the whole test suite was failing. This made it easy to focus on one test at a time and get each working. More recently, we got the whole suite working, so we don't need this feature anymore. And in the previous commit, we regressed a couple of tests, so it's nice to be able to see all the failures with a single run of the suite.
2010-05-28Revert "Add support for an object-to-function chain with the parens in the ↵Carl Worth
content." This reverts commit 7db2402a8009772a3f10d19cfc7f30be9ee79295 It doesn't revert the new test case from that commit, just the extremely ugly second-pass implementation.
2010-05-28r300g: remove unnecessary breaksMarek Olšák
2010-05-28r300g: report vertex format support in is_format_supportedMarek Olšák
2010-05-28st/mesa: advertise ARB_half_float_vertex when availableMarek Olšák
Both softpipe and llvmpipe pass the piglit half float test.
2010-05-28r300g/swtcl: fix WPOSMarek Olšák
There you are! r300->viewport_state is undefined when using SW TCL. Piglit score (r300g.tests): HW TCL: 231/275 SW TCL: 233/275
2010-05-28r300g/swtcl: avoid an infinite loop if an occl. query doesn't return anythingMarek Olšák
2010-05-27Remove blank lines from output files before comparing.Carl Worth
Recently I'm seeing cases where "gcc -E" mysteriously omits blank lines, (even though it prints the blank lines in other very similar cases). Rather than trying to decipher and imitate this, just get rid of the blank lines. This approach with sed to kill the lines before the diff is better than "diff -B" since when there is an actual difference, the presence of blank lines won't make the diff harder to read.
2010-05-27Add test for token-pasting of integers.Carl Worth
This test was tricky to make pass in the take-2 branch. It ends up passing already here with no additional effort, (since we are lexing integers as string-valued token except when in the ST_IF state in the lexer anyway).
2010-05-27Implement token pasting of integers.Carl Worth
To do this correctly, we change the lexer to lex integers as string values, (new token type of INTEGER_STRING), and only convert to integer values when evaluating an expression value. Add a new test case for this, (which does pass now).
2010-05-27r600g: disable renderingJerome Glisse
Disable rendering to avoid GPU lockup. Use radeondb to debug shader compiler : radeondb -c gallium.bof radeondb -s gallium.json Will print shader generated, best is to use fp demos to test the compiler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: various fixesBas Nieuwenhuizen
- enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
2010-05-27r600g: fix driver + shader compiler backend changeJerome Glisse
Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: Integrate into buildJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: Fix buffer offsetsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: adapt to latest interfaces changesMarek Olšák
- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.