Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glapi: Do not use glapioffsets.h. | Chia-I Wu | 2010-10-27 | 10 | -3124/+3110 |
| | | | | | | | glapioffsets.h exists for the same reason as glapidispatch.h does. It is of no use to glapi. This commit also drops the use of glapioffsets.h in glx as glx is considered an extension to glapi when it comes to defining public GL entries. | ||||
* | glapi: Move glapidispatch.h to core mesa. | Chia-I Wu | 2010-10-27 | 5 | -8/+8 |
| | | | | It is a core mesa header, not a glapi header. | ||||
* | glapi: Do not use glapidispatch.h. | Chia-I Wu | 2010-10-27 | 7 | -54/+40 |
| | | | | | | | | | glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries. | ||||
* | mesa: remove the unused _mesa_is_fragment_shader_active() function | Brian Paul | 2010-10-26 | 1 | -12/+0 |
| | | | | This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609. | ||||
* | mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap | Brian Paul | 2010-10-26 | 1 | -61/+15 |
| | | | | | | | This lets us simplify and consolidate some state checking code. This implements the GL_INVALID_OPERATION check for all drawing commands required by GL_EXT_texture_integer. | ||||
* | mesa: do integer FB / shader validation check in _mesa_valid_to_render() | Brian Paul | 2010-10-26 | 1 | -1/+11 |
| | |||||
* | i965: Disable register spilling on gen6 until it's fixed. | Eric Anholt | 2010-10-26 | 1 | -1/+1 |
| | | | | Avoids GPU hang on glsl-fs-convolution-1. | ||||
* | i965: Fix VS URB entry sizing. | Eric Anholt | 2010-10-26 | 1 | -1/+1 |
| | | | | | | | | | I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1. Fixes: glsl-kwin-blur glsl-max-varying glsl-routing | ||||
* | i965: Drop the eot argument to read messages, which can never be set. | Eric Anholt | 2010-10-26 | 1 | -24/+19 |
| | |||||
* | i965: Add support for constant buffer loads on gen6. | Eric Anholt | 2010-10-26 | 1 | -2/+26 |
| | | | | Fixes glsl-fs-uniform-array-5. | ||||
* | i965: Set up the constant buffer on gen6 when it's needed. | Eric Anholt | 2010-10-26 | 1 | -0/+1 |
| | | | | | This was slightly confused because gen6_wm_constants does the push constant buffer, while brw_wm_constants does pull constants. | ||||
* | i965: Fix typo in comment about state flags. | Eric Anholt | 2010-10-26 | 1 | -1/+1 |
| | |||||
* | i965: Handle new ir_unop_round_even in channel expression splitting. | Eric Anholt | 2010-10-26 | 1 | -0/+1 |
| | |||||
* | i965: Add support for discard instructions on gen6. | Eric Anholt | 2010-10-26 | 1 | -10/+41 |
| | | | | | | It's a little more painful than before because we don't have the handy mask register any more, and have to make do with cooking up a value out of the flag register. | ||||
* | i965: Add disasm for the flag register. | Eric Anholt | 2010-10-26 | 1 | -0/+3 |
| | |||||
* | i965: Clear some undefined fields of g0 when using them for gen6 FB writes. | Eric Anholt | 2010-10-26 | 1 | -0/+14 |
| | | | | | This doesn't appear to help any testcases I'm looking at, but it looks like it's required. | ||||
* | i965: Use SENDC on the first render target write on gen6. | Eric Anholt | 2010-10-26 | 3 | -4/+13 |
| | | | | | | This is apparently required, as the thread will be initiated while it still has dependencies, and this is what waits for those to be resolved before writing color. | ||||
* | i965: Clarify an XXX comment in FB writes with real info. | Eric Anholt | 2010-10-26 | 1 | -1/+2 |
| | |||||
* | i965: Add EU code for dword scattered reads (constant buffer array indexing). | Eric Anholt | 2010-10-26 | 2 | -0/+45 |
| | |||||
* | egl_dri2: Fix a typo that make glFlush be called at wrong time. | Chia-I Wu | 2010-10-26 | 1 | -1/+1 |
| | | | | | | We want to call glFlush when there is a current context. That is, old_ctx. This is a regression introduced by d19afc57fe49816f3f3290410e0124d326577be2. | ||||
* | r600g: add assembler support for all the kcache fields. | Dave Airlie | 2010-10-26 | 3 | -2/+17 |
| | |||||
* | mesa: additional teximage error checks for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -4/+38 |
| | |||||
* | mesa: additional switch cases for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -2/+87 |
| | |||||
* | mesa: additional glReadPixels error checks for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -0/+15 |
| | |||||
* | r600g: fix magic 0x1 ->flat shade ena | Dave Airlie | 2010-10-26 | 2 | -2/+2 |
| | |||||
* | glsl: Fix constant component count in vector constructor emitting. | Kenneth Graunke | 2010-10-25 | 1 | -1/+1 |
| | | | | | Fixes freedesktop.org bug #31101 as well as piglit test cases assignment-type-mismatch.vert and constructor-28.vert. | ||||
* | glsl: Fix ast-to-hir for ARB_fragment_coord_conventions | Chad Versace | 2010-10-25 | 1 | -1/+1 |
| | | | | | | | | | | | Function ast_declarator_list::hir(), when processing keywords added by extension ARB_fragment_coord_conventions, made the mistake of checking only if the extension was __supported by the driver__. The correct behavior is to check if the extensi0n is __enabled in the parse state__. NOTE: this is a candidate for the 7.9 branch. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | translate: remove unused prototypes | Brian Paul | 2010-10-25 | 1 | -9/+0 |
| | |||||
* | translate: use function typedefs, casts to silence warnings | Brian Paul | 2010-10-25 | 2 | -27/+35 |
| | |||||
* | st/mesa: support RGBA16 and use it for RGBA12 as well | Marek Olšák | 2010-10-25 | 1 | -1/+10 |
| | | | | | | Tested with r300g. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | rtasm: use pointer_to_func() to silence warning | Brian Paul | 2010-10-25 | 1 | -1/+1 |
| | |||||
* | util: use pointer_to_func() to silence warning | Brian Paul | 2010-10-25 | 1 | -1/+2 |
| | |||||
* | xlib: silence unused var warning | Brian Paul | 2010-10-25 | 1 | -0/+1 |
| | |||||
* | mesa: fix uninitialized var warning | Brian Paul | 2010-10-25 | 1 | -0/+1 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=31067 | ||||
* | mesa: silence enum comparison warning | Brian Paul | 2010-10-25 | 1 | -1/+1 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=31069 | ||||
* | r300g: fix texture border for 16-bits-per-channel formats | Marek Olšák | 2010-10-24 | 1 | -4/+9 |
| | | | | | This is kinda hacky, but it's hard to come up with a generic solution for all formats when only a few are used in practice (I mostly get B8G8R8*8). | ||||
* | mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY | Marek Olšák | 2010-10-24 | 1 | -0/+3 |
| | | | | | | As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGS | Jon TURNEY | 2010-10-24 | 2 | -8/+10 |
| | | | | | | | | | | Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears in the link line before any -L in $LDFLAGS, so that we link driver we are building with libEGL we have just built, and not an installed version [olv: make a similar change to targets/egl] Signed-off-by: Jon TURNEY <[email protected]> | ||||
* | r600g: drop more common state handling code | Dave Airlie | 2010-10-24 | 4 | -151/+80 |
| | |||||
* | r600g: Also clear bc data when we're destroying a shader. | Tilman Sauerbeck | 2010-10-24 | 3 | -1/+39 |
| | | | | | | | [airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Added r600_pipe_shader_destroy(). | Tilman Sauerbeck | 2010-10-24 | 3 | -2/+16 |
| | | | | | | | Not yet complete. Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: merge more of the common r600/evergreen state handling | Dave Airlie | 2010-10-24 | 4 | -172/+106 |
| | |||||
* | r600g: Fixed r600_vertex_element leak. | Tilman Sauerbeck | 2010-10-24 | 4 | -18/+10 |
| | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | softpipe: remove >32bpp color restriction | Brian Paul | 2010-10-23 | 2 | -8/+1 |
| | | | | The comment was out of date. The tile cache does handle >32-bit colors. | ||||
* | st/mesa: be smarter choosing texture format for glDrawPixels() | Brian Paul | 2010-10-23 | 1 | -4/+46 |
| | | | | This lets us get an integer texture format for integer pixel formats. | ||||
* | mesa: display list support for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 1 | -0/+144 |
| | |||||
* | mesa: plug in GL_EXT_texture_integer functions | Brian Paul | 2010-10-23 | 1 | -0/+7 |
| | |||||
* | mesa: regenerated API files for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 10 | -5701/+6237 |
| | |||||
* | glapi: include/build EXT_texture_integer.xml | Brian Paul | 2010-10-23 | 2 | -0/+3 |
| | |||||
* | glapi: GL_EXT_texture_integer API | Brian Paul | 2010-10-23 | 1 | -0/+98 |
| |