summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-08-03r300/compiler: Always unroll loops when doing loop emulation.Tom Stellard
2010-08-03r300/compiler: r500 hw support for break and continue in loops.Tom Stellard
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.
2010-08-03r300/compiler: KILP may not always be inside an IF statement.Tom Stellard
2010-08-03r300/compiler: Don't unroll loops with continue or break.Tom Stellard
2010-08-03st/mesa: Clean up header file inclusion in st_cache.h.Vinson Lee
2010-08-03st/mesa: Add forward declarations in st_atom_shader.h.Vinson Lee
2010-08-04mesa: increase the relative address offset limit to 4096 in ARB_vp/fpMarek Olšák
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.
2010-08-03st/mesa: Add forward declarations in st_atom_constbuf.h.Vinson Lee
2010-08-03st/mesa: Include glheader.h in st_atom.h.Vinson Lee
Include glheader.h for GLenum symbol.
2010-08-03mesa: Clean up header file inclusion in m_xform.h.Vinson Lee
Include compiler.h for CONST symbol. Remove config.h as m_xform.h uses no additional symbols from config.h.
2010-08-03mesa: Reduce header file inclusion in m_translate.h.Vinson Lee
m_translate.h does not use any additional symbols added by config.h.
2010-08-03mesa: Include missing header in m_matrix.h.Vinson Lee
2010-08-03mesa: Reduce header file inclusion in texgen.h.Vinson Lee
texgen.h doesn't use any symbols additionally added by mtypes.h.
2010-08-03mesa: Reduce header file inclusion in texcompress_fxt1.h.Vinson Lee
texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
2010-08-02mesa: Reduce header file inclusion in syncobj.h.Vinson Lee
syncobj.h doesn't use any additional symbols that is added by context.h.
2010-08-02radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner
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 <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
2010-08-02radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner
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 <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02r600: fix sin,cos functions on r600Andre Maasikas
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
2010-07-31mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee
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.
2010-07-31mesa: Remove unnecessary header from mm.h.Vinson Lee
2010-07-31mesa: Add headers containing sybmols used by mm.c.Vinson Lee
2010-07-31mesa: Reduce header file inclusion in get.h.Vinson Lee
get.h only needs the GL headers.
2010-07-31mesa: Include missing headers in vtxfmt.h.Vinson Lee
Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in shared.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in restart.h.Vinson Lee
2010-07-31mesa: Include missing headers in renderbuffer.h.Vinson Lee
2010-07-31mesa: Include missing header in remap.h.Vinson Lee
Include compiler.h for INLINE symbol.
2010-07-31mesa: Remove unnecessary headers.Vinson Lee
2010-07-31swrast: Remove unnecessary headers.Vinson Lee
2010-07-31tnl: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Include missing header in pixelstore.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-30mesa: Include missing headers in nvprogram.h.Vinson Lee
2010-07-30st/mesa: better handling of indirect addressing of temp/const register filesBrian Paul
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.
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul
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.
2010-07-30mesa: Add missing header to multisample.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-30mesa: Remove unnecessary header from colormac.h.Vinson Lee
2010-07-30mesa: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee
Don't rely on inclusion of other files that already include macros.h.
2010-07-30mesa: Include macros.h in attrib.c for COPY_4FV symbol.Vinson Lee
2010-07-30intel: Add missing header to intel_context.c.Vinson Lee
Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning.
2010-07-30mesa: Reduce clip.h header file inclusion.Vinson Lee
2010-07-29mesa: Add missing header to framebuffer.h.Vinson Lee
Include mtypes.h for GLvisual and GLcontext symbols.
2010-07-29mesa: Add missing header to fboject.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing header to texgetimage.h.Vinson Lee
2010-07-29mesa: Add missing header to texrender.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing header and forward declarations to uniforms.h.Vinson Lee
2010-07-29mesa: Add missing headers to viewport.h.Vinson Lee
2010-07-29mesa: Add missing header to depthstencil.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing headers to debug.h.Vinson Lee