summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
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
2010-07-29intel: Add missing header.Vinson Lee
Add context.h for NEED_SECONDARY_COLOR symbol.
2010-07-29dri: Add missing header to dri_metaops.c.Vinson Lee
Add context.h for FLUSH_VERTICES symbol.
2010-07-29mesa: Reduce clear.h header file inclusion.Vinson Lee
2010-07-29mesa: Reduce bufferobj.h header file inclusion.Vinson Lee
Directly include mtypes.h instead of including context.h to include mtypes.h.
2010-07-29mesa: Remove unnecessary headers.Vinson Lee
2010-07-29intel: Declare the various tracked state variables using "extern"Kristian Høgsberg
2010-07-29intel: Don't depend on context config values when picking texture formatsKristian Høgsberg
2010-07-29mesa: implement RCC opcodeBrian Paul
2010-07-29mesa: update table of opcodes used by GLSLBrian Paul
2010-07-29r600: since 8744c36e added asserts - use another random register for shader ↵Andre Maasikas
with no output
2010-07-28mesa: Reduce arrayobj.h header file inclusion.Vinson Lee
Directly include mtypes.h instead of including context.h to include mtypes.h.
2010-07-28mesa: Remove unnecessary header.Vinson Lee
2010-07-29gallium: Use unified pipe_context::draw_vbo.Chia-I Wu
Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
2010-07-28mesa: Remove unnecessary header.Vinson Lee
2010-07-28intel: Implement EGL_KHR_surfaceless extensionKristian Høgsberg
2010-07-27intel: Remove unused intel/server filesKristian Høgsberg
2010-07-26i965: Fix reversed naming of the operations in compute-to-mrf optimization.Eric Anholt
Also fix up comments, so that the difference between the two passes is clarified.
2010-07-26i965: Clean up a few magic numbers to use brw_defines.h defs.Eric Anholt
2010-07-26i965: Use MIN2, MAX2 instead of rolling our own.Eric Anholt
2010-07-26i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list.Eric Anholt
2010-07-26i965: Remove some duped register size/count definitionsEric Anholt
2010-07-26i965: Move the GRF-to-MRF optimizations to brw_optimize.c.Eric Anholt
2010-07-26i965: Improve (i.e. remove) some grf-to-mrf unnecessary movesBenjamin Segovia
Several routines directly analyze the grf-to-mrf moves from the Gen binary code. When it is possible, the mov is removed and the message register is directly written in the arithmetic instruction Also redundant mrf-to-grf moves are removed (frequently for example, when sampling many textures with the same uv) Code was tested with piglit, warsow and nexuiz on an Ironlake machine. No regression was found there Note that the optimizations are *deactivated* on Gen4 and Gen6 since I did test them properly yet. No reason there are bugs but who knows The optimizations are currently done in branch free programs *only*. Considering branches is more complicated and there are actually two paths: one for branch free programs and one for programs with branches Also some other optimizations should be done during the emission itself but considering that some code is shader between vertex shaders (AOS) and pixel shaders (SOA) and that we may have branches or not, it is pretty hard to both factorize the code and have one good set of strategies
2010-07-26i965: Allow VS MOVs to use immediate constants.Eric Anholt
Clarifies program assembly, and with a little tweak to always use constant_map, we could cut down on constant buffer payload.
2010-07-23mesa: Fix Cygwin build with llvm enabled.Vinson Lee
On Cygwin locale_t in not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
2010-07-23gallium: Fix build with llvm installed in non-standard locationChristopher James Halse Rogers
The es1, es2 and gl state trackers include draw_pipe.h, which includes the llvm headers if MESA_LLVM is true, so we also need to add the llvm seachpaths. Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled. Also fix xorg drivers, they didn't include LDFLAGS.
2010-07-23st/mesa: get rid of unneeded ureg_writemask()Brian Paul
2010-07-23st/mesa: fix bug in emit_adjusted_wpos()Brian Paul
If we bias x,y we still need to pass through z,w in case the shader reads gl_FragCoord.z or .w. Fixes fd.o bug 29183 (piglit glsl-bug-22603). NOTE: This is a candidate for the 7.8 branch.
2010-07-23i965: Cleanly fail programs with unsupported array access.Eric Anholt
This should be more useful for developers and for bug triaging than just generating wrong code.