aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* mesa: Add missing header to fboject.h.Vinson Lee2010-07-291-0/+1
| | | | Add mtypes.h for GLcontext symbol.
* mesa: Add missing header to texgetimage.h.Vinson Lee2010-07-291-0/+1
|
* mesa: Add missing header to texrender.h.Vinson Lee2010-07-291-0/+1
| | | | Add mtypes.h for GLcontext symbol.
* mesa: Add missing header and forward declarations to uniforms.h.Vinson Lee2010-07-291-0/+4
|
* mesa: Add missing headers to viewport.h.Vinson Lee2010-07-291-0/+2
|
* mesa: Add missing header to depthstencil.h.Vinson Lee2010-07-291-0/+1
| | | | Add mtypes.h for GLcontext symbol.
* mesa: Add missing headers to debug.h.Vinson Lee2010-07-291-0/+3
|
* intel: Add missing header.Vinson Lee2010-07-291-0/+1
| | | | Add context.h for NEED_SECONDARY_COLOR symbol.
* dri: Add missing header to dri_metaops.c.Vinson Lee2010-07-291-0/+1
| | | | Add context.h for FLUSH_VERTICES symbol.
* mesa: Reduce clear.h header file inclusion.Vinson Lee2010-07-291-1/+1
|
* mesa: Reduce bufferobj.h header file inclusion.Vinson Lee2010-07-291-1/+1
| | | | | Directly include mtypes.h instead of including context.h to include mtypes.h.
* mesa: Remove unnecessary headers.Vinson Lee2010-07-292-2/+0
|
* intel: Declare the various tracked state variables using "extern"Kristian Høgsberg2010-07-291-62/+62
|
* intel: Don't depend on context config values when picking texture formatsKristian Høgsberg2010-07-291-24/+12
|
* mesa: implement RCC opcodeBrian Paul2010-07-291-0/+54
|
* mesa: update table of opcodes used by GLSLBrian Paul2010-07-291-8/+8
|
* r600: since 8744c36e added asserts - use another random register for shader ↵Andre Maasikas2010-07-291-1/+1
| | | | with no output
* mesa: Reduce arrayobj.h header file inclusion.Vinson Lee2010-07-281-1/+1
| | | | | Directly include mtypes.h instead of including context.h to include mtypes.h.
* mesa: Remove unnecessary header.Vinson Lee2010-07-281-1/+0
|
* gallium: Use unified pipe_context::draw_vbo.Chia-I Wu2010-07-291-100/+69
| | | | Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
* mesa: Remove unnecessary header.Vinson Lee2010-07-281-1/+1
|
* intel: Implement EGL_KHR_surfaceless extensionKristian Høgsberg2010-07-284-8/+28
|
* intel: Remove unused intel/server filesKristian Høgsberg2010-07-275-397/+2
|
* i965: Fix reversed naming of the operations in compute-to-mrf optimization.Eric Anholt2010-07-263-6/+11
| | | | | Also fix up comments, so that the difference between the two passes is clarified.
* i965: Clean up a few magic numbers to use brw_defines.h defs.Eric Anholt2010-07-263-18/+20
|
* i965: Use MIN2, MAX2 instead of rolling our own.Eric Anholt2010-07-261-15/+12
|
* i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list.Eric Anholt2010-07-261-50/+26
|
* i965: Remove some duped register size/count definitionsEric Anholt2010-07-262-34/+26
|
* i965: Move the GRF-to-MRF optimizations to brw_optimize.c.Eric Anholt2010-07-263-619/+618
|
* i965: Improve (i.e. remove) some grf-to-mrf unnecessary movesBenjamin Segovia2010-07-261-2/+626
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* i965: Allow VS MOVs to use immediate constants.Eric Anholt2010-07-261-0/+1
| | | | | Clarifies program assembly, and with a little tweak to always use constant_map, we could cut down on constant buffer payload.
* mesa: Fix Cygwin build with llvm enabled.Vinson Lee2010-07-231-1/+1
| | | | | On Cygwin locale_t in not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
* gallium: Fix build with llvm installed in non-standard locationChristopher James Halse Rogers2010-07-231-0/+7
| | | | | | | | | | 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.
* st/mesa: get rid of unneeded ureg_writemask()Brian Paul2010-07-231-3/+2
|
* st/mesa: fix bug in emit_adjusted_wpos()Brian Paul2010-07-231-2/+5
| | | | | | | | | 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.
* i965: Cleanly fail programs with unsupported array access.Eric Anholt2010-07-231-1/+28
| | | | | This should be more useful for developers and for bug triaging than just generating wrong code.
* i965: Add support for VS relative addressing of temporary arrays.Eric Anholt2010-07-231-2/+49
| | | | Fixes glsl-vs-arrays. Bug #27388.
* glsl: remove invalid _mesa_problem() callBrian Paul2010-07-221-0/+2
| | | | Fixes fd.o bug 29206.
* i965: Respect VS/VP point size result when enabled.Eric Anholt2010-07-221-3/+4
| | | | Fixes glsl-vs-point-size.
* i965: Fix the disasm output for da16 src widths.Eric Anholt2010-07-221-1/+1
| | | | | | This has confused me twice now. It's a fixed width of 4 (usually a region description of <4,4,1>), not 1. If it was 1, we'd have been skipping all over register space.
* i965: Avoid extra MOV in VS indirect register reads.Eric Anholt2010-07-221-15/+16
|