Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: added gl_program::IndirectRegisterFiles field | Brian Paul | 2010-07-30 | 8 | -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 Lee | 2010-07-30 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | mesa: Remove unnecessary header from colormac.h. | Vinson Lee | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-07-30 | 6 | -6/+0 |
| | |||||
* | mesa: Include macros.h in files that use symbols from macros.h. | Vinson Lee | 2010-07-30 | 11 | -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 Lee | 2010-07-30 | 1 | -0/+1 |
| | |||||
* | intel: Add missing header to intel_context.c. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | | | | | Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning. | ||||
* | mesa: Reduce clip.h header file inclusion. | Vinson Lee | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | mesa: Add missing header to framebuffer.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLvisual and GLcontext symbols. | ||||
* | mesa: Add missing header to fboject.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing header to texgetimage.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | |||||
* | mesa: Add missing header to texrender.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing header and forward declarations to uniforms.h. | Vinson Lee | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | mesa: Add missing headers to viewport.h. | Vinson Lee | 2010-07-29 | 1 | -0/+2 |
| | |||||
* | mesa: Add missing header to depthstencil.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing headers to debug.h. | Vinson Lee | 2010-07-29 | 1 | -0/+3 |
| | |||||
* | intel: Add missing header. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add context.h for NEED_SECONDARY_COLOR symbol. | ||||
* | dri: Add missing header to dri_metaops.c. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add context.h for FLUSH_VERTICES symbol. | ||||
* | mesa: Reduce clear.h header file inclusion. | Vinson Lee | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: Reduce bufferobj.h header file inclusion. | Vinson Lee | 2010-07-29 | 1 | -1/+1 |
| | | | | | Directly include mtypes.h instead of including context.h to include mtypes.h. | ||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-07-29 | 2 | -2/+0 |
| | |||||
* | intel: Declare the various tracked state variables using "extern" | Kristian Høgsberg | 2010-07-29 | 1 | -62/+62 |
| | |||||
* | intel: Don't depend on context config values when picking texture formats | Kristian Høgsberg | 2010-07-29 | 1 | -24/+12 |
| | |||||
* | mesa: implement RCC opcode | Brian Paul | 2010-07-29 | 1 | -0/+54 |
| | |||||
* | mesa: update table of opcodes used by GLSL | Brian Paul | 2010-07-29 | 1 | -8/+8 |
| | |||||
* | r600: since 8744c36e added asserts - use another random register for shader ↵ | Andre Maasikas | 2010-07-29 | 1 | -1/+1 |
| | | | | with no output | ||||
* | mesa: Reduce arrayobj.h header file inclusion. | Vinson Lee | 2010-07-28 | 1 | -1/+1 |
| | | | | | Directly include mtypes.h instead of including context.h to include mtypes.h. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-07-28 | 1 | -1/+0 |
| | |||||
* | gallium: Use unified pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 1 | -100/+69 |
| | | | | Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | intel: Implement EGL_KHR_surfaceless extension | Kristian Høgsberg | 2010-07-28 | 4 | -8/+28 |
| | |||||
* | intel: Remove unused intel/server files | Kristian Høgsberg | 2010-07-27 | 5 | -397/+2 |
| | |||||
* | i965: Fix reversed naming of the operations in compute-to-mrf optimization. | Eric Anholt | 2010-07-26 | 3 | -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 Anholt | 2010-07-26 | 3 | -18/+20 |
| | |||||
* | i965: Use MIN2, MAX2 instead of rolling our own. | Eric Anholt | 2010-07-26 | 1 | -15/+12 |
| | |||||
* | i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list. | Eric Anholt | 2010-07-26 | 1 | -50/+26 |
| | |||||
* | i965: Remove some duped register size/count definitions | Eric Anholt | 2010-07-26 | 2 | -34/+26 |
| | |||||
* | i965: Move the GRF-to-MRF optimizations to brw_optimize.c. | Eric Anholt | 2010-07-26 | 3 | -619/+618 |
| | |||||
* | i965: Improve (i.e. remove) some grf-to-mrf unnecessary moves | Benjamin Segovia | 2010-07-26 | 1 | -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 Anholt | 2010-07-26 | 1 | -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 Lee | 2010-07-23 | 1 | -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 location | Christopher James Halse Rogers | 2010-07-23 | 1 | -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 Paul | 2010-07-23 | 1 | -3/+2 |
| | |||||
* | st/mesa: fix bug in emit_adjusted_wpos() | Brian Paul | 2010-07-23 | 1 | -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 Anholt | 2010-07-23 | 1 | -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 Anholt | 2010-07-23 | 1 | -2/+49 |
| | | | | Fixes glsl-vs-arrays. Bug #27388. | ||||
* | glsl: remove invalid _mesa_problem() call | Brian Paul | 2010-07-22 | 1 | -0/+2 |
| | | | | Fixes fd.o bug 29206. | ||||
* | i965: Respect VS/VP point size result when enabled. | Eric Anholt | 2010-07-22 | 1 | -3/+4 |
| | | | | Fixes glsl-vs-point-size. | ||||
* | i965: Fix the disasm output for da16 src widths. | Eric Anholt | 2010-07-22 | 1 | -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 Anholt | 2010-07-22 | 1 | -15/+16 |
| |