| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Remove ss_context.h.
Include mtypes.h for GLcontext symbol.
|
|
|
|
|
| |
Remove mtypes.h and swrast_setup.h.
Include glheader.h for GL symbols.
|
|
|
|
| |
Include mtypes.h for GLcontext and gl_register_file symbols.
|
|
|
|
| |
It doesn't work well with Hyper-Z, so put the burden on the state tracker.
|
|
|
|
| |
This always restores the previous depth clear value after CBZB clear.
|
|
|
|
|
|
| |
Sent on ML by Владимир.
These values are what fglrx returns.
|
|
|
|
|
|
|
| |
It breaks Regnum Online in that it renders random triangles
all over the screen.
https://bugs.freedesktop.org/show_bug.cgi?id=29518
|
|
|
|
| |
This patch fixes the MinGW build.
|
| |
|
|
|
|
|
| |
I noticed gears memory usage was heading skywards, some r600 "states"
aren't properly refcounted, and the ctx->state is never freed.
|
| |
|
|
|
|
|
| |
Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to
make but not to SCons.
|
| |
|
|
|
|
|
| |
On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags'
adds the compiler flag -D_GNU_SOURCE to the build.
|
|
|
|
| |
Use a kludgy function based on rand() instead of drand48()
|
|
|
|
|
|
|
| |
1. Generate random data specifically for float and doubles, so that
they end up in [0, 1] range
2. Don't test useless conversions like SCALED <-> NORM
3. Poison the buffers before testing
|
|
|
|
| |
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
|
|
|
|
|
| |
use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was
probably a wrong register for this
|
|
|
|
|
|
| |
Remove mtypes.h.
Remove prog_statevars.h.
Include glheader.h for GL symbols.
|
|
|
|
|
|
|
| |
Include stdio.h for FILE symbol.
Include glheader.h for GL symbols.
Include mtypes.h for GLcontext symbol.
Add forward declarations.
|
|
|
|
| |
Include mtypes.h for GLcontext symbol.
|
|
|
|
| |
fixes piglit stencil-twoside and stencil-wrap
|
| |
|
|
|
|
|
|
|
|
|
| |
This takes the r300g texture format checker and fixes it up for r600g,
it passes glean texSwizzle, pixelformats, and texture_srgb tests,
however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
| |
No need to enable depth test for clear.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
1. Fix the segfault due to the reverted commit using the new interface
2. Reindent to Mesa 3 spaces style
3. Improve output and return success/failure with error code
4. Add much better support for testing translate_sse
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently translate asserts on unsupported output formats, making
it impossible to use for some purposes, such as testing whether it
actually works on all formats it supports.
Removing the assert was met with opposition, so this change allows
clients to ask whether an output format is supported, and they are thus
able to avoid attempting to use it.
Since this is just an addition to the API, no adverse effect is
possible, and it makes the testsuite work again.
|
|
|
|
| |
Fixes MSVC build.
|
|
|
|
|
| |
This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1,
which added translate_test.c to make.
|
|
|
|
|
| |
This is a follow-up to commit b85c71d4e1e4ed788be834dff5b7b3c0cd0402ac
which added u_staging.c to make.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
| |
Should fix few glBitmap cases.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Thanks to Michal for spotting this.
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
supported"
This reverts commit 16b45ca7cefb3432b4133fe9d0b1dbfe3f286131.
José Fonseca asked for a revert.
Note that the testsuite will now segfault since it attempts to test
all possible formats.
|
|
|
|
|
|
|
| |
translate was attempting to output A8R8G8B8_UNORM as if it were
R8G8B8A8_UNORM.
Now the tests just added pass.
|
|
|
|
|
| |
Currently only checks all possible format conversions, and doesn't
attempt to test whether multiple buffers/elements or indices work.
|
|
|
|
| |
This gives the caller a chance to recover (or crash anyway otherwise).
|
|
|
|
|
|
|
|
|
| |
util_framebuffer_copy was attempting to copy all elements of the
source framebuffer state.
However, this breaks if the user does not zero initialize the structure.
Instead, only copy the elements up to nr_cbufs, and clear elements up
to dst->nr_cbufs, if the destination was larger than the source.
|
|
|
|
|
|
|
| |
Single divide, so let lp_build_div decide how to implement this.
This will save a multiplication in architectures which don't have
a RCP intrinsic.
|
|
|
|
| |
Texture dimensions are unsigned.
|
| |
|
| |
|