aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
...
* st/mesa: Clean up header file inclusion in st_cb_drawpixels.h.Vinson Lee2010-08-041-1/+4
| | | | | Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
* st/mesa: Add forward declaration in st_cb_condrender.h.Vinson Lee2010-08-041-0/+2
|
* st/mesa: Add forward declarations in st_cb_clear.h.Vinson Lee2010-08-041-0/+3
|
* st/mesa: Include missing headers in st_cb_bufferobjects.h.Vinson Lee2010-08-041-2/+5
| | | | | Include compiler.h for INLINE symbol. Include mtypes.h for gl_buffer_object symbol.
* st/mesa: Clean up header file inclusion in st_cb_blit.h.Vinson Lee2010-08-041-2/+4
| | | | | Replaced mtypes.h and st_context.h with forward declarations. Added compiler.h for INLINE symbol.
* st/mesa: Clean up header file inclusion in st_cb_bitmap.h.Vinson Lee2010-08-041-1/+4
| | | | | | Removed mtypes.h. Include compiler.h for INLINE symbol. Added forward declarations.
* r600: relax stride/alignment requirements for verticesAndre Maasikas2010-08-043-20/+14
| | | | | | | | | | seems hw can do unaligned accesses and unaligned strides removes extra conversion when using vbo's however I needed to switch 3 component byte format to 4 component formats for tests to pass. Somewhat sililar to GL_SHORT fix done earlier removes assert and gains +2 piglit especially draw-vertices
* r300/compiler: Always unroll loops when doing loop emulation.Tom Stellard2010-08-034-11/+14
|
* r300/compiler: r500 hw support for break and continue in loops.Tom Stellard2010-08-0310-167/+282
| | | | | | | The BGNLOOP and ENDLOOP instructions are now being used correctly, which makes break and continue possible. The deadcode pass has been modified to handle breaks, and the compiler is more careful about which loops are unrolled.
* r300/compiler: KILP may not always be inside an IF statement.Tom Stellard2010-08-031-9/+14
|
* r300/compiler: Don't unroll loops with continue or break.Tom Stellard2010-08-031-1/+12
|
* st/mesa: Clean up header file inclusion in st_cache.h.Vinson Lee2010-08-031-2/+3
|
* st/mesa: Add forward declarations in st_atom_shader.h.Vinson Lee2010-08-031-0/+3
|
* mesa: increase the relative address offset limit to 4096 in ARB_vp/fpMarek Olšák2010-08-042-4/+4
| | | | | | | | | | | | | | | | | | | Even though the spec says that the limits should be -64/+63, proprietary drivers support much larger relative offsets and some applications do depend on this non-standard behavior. Also program_parse.tab.c has been regenerated. This fixes the parser error: ARB_vp: error: relative address offset too large See also: https://bugs.freedesktop.org/show_bug.cgi?id=28628 4096 * sizeof(vec4) is the maximum size of the constant buffer on NV50. It is not supposed to be a definite hardware limit, it is for the parser not to get in the way and let the underlying driver decide whether it can run the shader or not.
* st/mesa: Add forward declarations in st_atom_constbuf.h.Vinson Lee2010-08-031-0/+3
|
* st/mesa: Include glheader.h in st_atom.h.Vinson Lee2010-08-031-0/+2
| | | | Include glheader.h for GLenum symbol.
* mesa: Clean up header file inclusion in m_xform.h.Vinson Lee2010-08-031-2/+2
| | | | | | Include compiler.h for CONST symbol. Remove config.h as m_xform.h uses no additional symbols from config.h.
* mesa: Reduce header file inclusion in m_translate.h.Vinson Lee2010-08-031-1/+2
| | | | m_translate.h does not use any additional symbols added by config.h.
* mesa: Include missing header in m_matrix.h.Vinson Lee2010-08-031-0/+2
|
* mesa: Reduce header file inclusion in texgen.h.Vinson Lee2010-08-031-1/+4
| | | | texgen.h doesn't use any symbols additionally added by mtypes.h.
* mesa: Reduce header file inclusion in texcompress_fxt1.h.Vinson Lee2010-08-031-1/+3
| | | | texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
* mesa: Reduce header file inclusion in syncobj.h.Vinson Lee2010-08-021-1/+4
| | | | syncobj.h doesn't use any additional symbols that is added by context.h.
* radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner2010-08-0213-10/+98
| | | | | | | | | | | | | | When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse2010-08-0210-77/+0
| | | | This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
* radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner2010-08-0210-0/+77
| | | | | | | | | | | | | | | | | When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* r600: fix sin,cos functions on r600Andre Maasikas2010-08-021-9/+133
| | | | | | | | | | | r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
* mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee2010-07-3110-5/+16
| | | | | | | mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
* mesa: Remove unnecessary header from mm.h.Vinson Lee2010-07-311-3/+0
|
* mesa: Add headers containing sybmols used by mm.c.Vinson Lee2010-07-311-0/+5
|
* mesa: Reduce header file inclusion in get.h.Vinson Lee2010-07-311-1/+1
| | | | get.h only needs the GL headers.
* mesa: Include missing headers in vtxfmt.h.Vinson Lee2010-07-311-0/+3
| | | | | Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in shared.h.Vinson Lee2010-07-311-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in restart.h.Vinson Lee2010-07-311-0/+1
|
* mesa: Include missing headers in renderbuffer.h.Vinson Lee2010-07-311-0/+5
|
* mesa: Include missing header in remap.h.Vinson Lee2010-07-311-0/+1
| | | | Include compiler.h for INLINE symbol.
* mesa: Remove unnecessary headers.Vinson Lee2010-07-316-6/+0
|
* swrast: Remove unnecessary headers.Vinson Lee2010-07-316-6/+0
|
* tnl: Remove unnecessary headers.Vinson Lee2010-07-318-8/+0
|
* mesa: Include missing header in pixelstore.h.Vinson Lee2010-07-301-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing headers in nvprogram.h.Vinson Lee2010-07-301-0/+2
|
* st/mesa: better handling of indirect addressing of temp/const register filesBrian Paul2010-07-301-4/+24
| | | | | | | | With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305.
* mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul2010-07-308-210/+234
| | | | | | | | Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
* mesa: Add missing header to multisample.h.Vinson Lee2010-07-301-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Remove unnecessary header from colormac.h.Vinson Lee2010-07-301-1/+1
|
* mesa: Remove unnecessary headers.Vinson Lee2010-07-306-6/+0
|
* mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee2010-07-3011-0/+11
| | | | Don't rely on inclusion of other files that already include macros.h.
* mesa: Include macros.h in attrib.c for COPY_4FV symbol.Vinson Lee2010-07-301-0/+1
|
* intel: Add missing header to intel_context.c.Vinson Lee2010-07-301-0/+1
| | | | | Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning.
* mesa: Reduce clip.h header file inclusion.Vinson Lee2010-07-301-1/+1
|
* mesa: Add missing header to framebuffer.h.Vinson Lee2010-07-291-0/+1
| | | | Include mtypes.h for GLvisual and GLcontext symbols.