summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* vbo: Use CALL_* macros.Chia-I Wu2010-10-271-8/+8
| | | | | Use macros to access _glapi_table consistently. There is no functional change.
* glapi: Merge glapioffsets.h into glapidispath.h.Chia-I Wu2010-10-277-5109/+3786
| | | | | | | | | Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
* glapi: Do not use glapioffsets.h.Chia-I Wu2010-10-2710-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 Wu2010-10-275-8/+8
| | | | It is a core mesa header, not a glapi header.
* glapi: Do not use glapidispatch.h.Chia-I Wu2010-10-277-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() functionBrian Paul2010-10-261-12/+0
| | | | This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
* mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmapBrian Paul2010-10-261-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 Paul2010-10-261-1/+11
|
* i965: Disable register spilling on gen6 until it's fixed.Eric Anholt2010-10-261-1/+1
| | | | Avoids GPU hang on glsl-fs-convolution-1.
* i965: Fix VS URB entry sizing.Eric Anholt2010-10-261-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 Anholt2010-10-261-24/+19
|
* i965: Add support for constant buffer loads on gen6.Eric Anholt2010-10-261-2/+26
| | | | Fixes glsl-fs-uniform-array-5.
* i965: Set up the constant buffer on gen6 when it's needed.Eric Anholt2010-10-261-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 Anholt2010-10-261-1/+1
|
* i965: Handle new ir_unop_round_even in channel expression splitting.Eric Anholt2010-10-261-0/+1
|
* i965: Add support for discard instructions on gen6.Eric Anholt2010-10-261-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 Anholt2010-10-261-0/+3
|
* i965: Clear some undefined fields of g0 when using them for gen6 FB writes.Eric Anholt2010-10-261-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 Anholt2010-10-263-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 Anholt2010-10-261-1/+2
|
* i965: Add EU code for dword scattered reads (constant buffer array indexing).Eric Anholt2010-10-262-0/+45
|
* egl_dri2: Fix a typo that make glFlush be called at wrong time.Chia-I Wu2010-10-261-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 Airlie2010-10-263-2/+17
|
* mesa: additional teximage error checks for GL_EXT_texture_integerBrian Paul2010-10-251-4/+38
|
* mesa: additional switch cases for GL_EXT_texture_integerBrian Paul2010-10-251-2/+87
|
* mesa: additional glReadPixels error checks for GL_EXT_texture_integerBrian Paul2010-10-251-0/+15
|
* r600g: fix magic 0x1 ->flat shade enaDave Airlie2010-10-262-2/+2
|
* glsl: Fix constant component count in vector constructor emitting.Kenneth Graunke2010-10-251-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_conventionsChad Versace2010-10-251-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 prototypesBrian Paul2010-10-251-9/+0
|
* translate: use function typedefs, casts to silence warningsBrian Paul2010-10-252-27/+35
|
* st/mesa: support RGBA16 and use it for RGBA12 as wellMarek Olšák2010-10-251-1/+10
| | | | | | Tested with r300g. Signed-off-by: Marek Olšák <[email protected]>
* rtasm: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+1
|
* util: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+2
|
* xlib: silence unused var warningBrian Paul2010-10-251-0/+1
|
* mesa: fix uninitialized var warningBrian Paul2010-10-251-0/+1
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=31067
* mesa: silence enum comparison warningBrian Paul2010-10-251-1/+1
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=31069
* r300g: fix texture border for 16-bits-per-channel formatsMarek Olšák2010-10-241-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 INTENSITYMarek Olšák2010-10-241-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 $LDFLAGSJon TURNEY2010-10-242-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 codeDave Airlie2010-10-244-151/+80
|
* r600g: Also clear bc data when we're destroying a shader.Tilman Sauerbeck2010-10-243-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 Sauerbeck2010-10-243-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 handlingDave Airlie2010-10-244-172/+106
|
* r600g: Fixed r600_vertex_element leak.Tilman Sauerbeck2010-10-244-18/+10
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* softpipe: remove >32bpp color restrictionBrian Paul2010-10-232-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 Paul2010-10-231-4/+46
| | | | This lets us get an integer texture format for integer pixel formats.
* mesa: display list support for GL_EXT_texture_integerBrian Paul2010-10-231-0/+144
|
* mesa: plug in GL_EXT_texture_integer functionsBrian Paul2010-10-231-0/+7
|
* mesa: regenerated API files for GL_EXT_texture_integerBrian Paul2010-10-2310-5701/+6237
|