Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-30 | intel: Add missing header to intel_context.c. | Vinson Lee | |
Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning. | |||
2010-07-29 | intel: Add missing header. | Vinson Lee | |
Add context.h for NEED_SECONDARY_COLOR symbol. | |||
2010-07-29 | dri: Add missing header to dri_metaops.c. | Vinson Lee | |
Add context.h for FLUSH_VERTICES symbol. | |||
2010-07-29 | intel: Declare the various tracked state variables using "extern" | Kristian Høgsberg | |
2010-07-29 | intel: Don't depend on context config values when picking texture formats | Kristian Høgsberg | |
2010-07-29 | r600: since 8744c36e added asserts - use another random register for shader ↵ | Andre Maasikas | |
with no output | |||
2010-07-28 | intel: Implement EGL_KHR_surfaceless extension | Kristian Høgsberg | |
2010-07-27 | intel: Remove unused intel/server files | Kristian Høgsberg | |
2010-07-26 | i965: 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-26 | i965: Clean up a few magic numbers to use brw_defines.h defs. | Eric Anholt | |
2010-07-26 | i965: Use MIN2, MAX2 instead of rolling our own. | Eric Anholt | |
2010-07-26 | i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list. | Eric Anholt | |
2010-07-26 | i965: Remove some duped register size/count definitions | Eric Anholt | |
2010-07-26 | i965: Move the GRF-to-MRF optimizations to brw_optimize.c. | Eric Anholt | |
2010-07-26 | i965: Improve (i.e. remove) some grf-to-mrf unnecessary moves | Benjamin 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-26 | i965: 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-23 | i965: 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. | |||
2010-07-23 | i965: Add support for VS relative addressing of temporary arrays. | Eric Anholt | |
Fixes glsl-vs-arrays. Bug #27388. | |||
2010-07-22 | i965: Respect VS/VP point size result when enabled. | Eric Anholt | |
Fixes glsl-vs-point-size. | |||
2010-07-22 | i965: Fix the disasm output for da16 src widths. | Eric Anholt | |
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. | |||
2010-07-22 | i965: Avoid extra MOV in VS indirect register reads. | Eric Anholt | |
2010-07-22 | i965: Fix up VS temporary array access for fixed index offset != 0. | Eric Anholt | |
2010-07-22 | r600: Flip point sprite coordinates when rendering to an FBO. | Henri Verbeet | |
This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html. | |||
2010-07-21 | i965: In the VS, multiply the address reg by the appropriate register size. | Eric Anholt | |
The ARL value is increments of vec4 in the register file. But PROGRAM_TEMPORARY or PROGRAM_INPUT are stored as vec4s interleaved between the two verts being executed (thus a vec8 each), compared to PROGRAM_STATE_VAR being packed vec4s. Fixes: glsl-vs-arrays-2 glsl-vs-mov-after-deref (without regressing glsl-vs-arrays-3) | |||
2010-07-21 | i965: Clean up brw_dp_READ_4_vs() now that it has fewer options to support. | Eric Anholt | |
2010-07-21 | i965: Support relative addressed VS constant reads using the appropriate msg. | Eric Anholt | |
The previous support was overly complicated by trying to use the same 1-OWORD message for both offsets. | |||
2010-07-21 | i965: Fix the DP read msg_control definitions other than plain OWORD. | Eric Anholt | |
2010-07-21 | i965: Clean up dead code from the VS get_constant/get_reladdr_constant split. | Eric Anholt | |
2010-07-21 | i956: Set the execution size correctly for scratch space writes. | Eric Anholt | |
Otherwise, the second half isn't written, and we end up reading back black. Fixes the remaining junk drawn in glsl-max-varyings, and will likely help with a number of large real-world shaders. | |||
2010-07-21 | i965: Set the GEM domain flags for the scratch space. | Eric Anholt | |
They go into the render cache, so while we don't care about their contents after execution, failing to note them could cause the writes to be flushed over important buffer contents later. | |||
2010-07-21 | i965: Use the pretty define for 4-oword DP reads. | Eric Anholt | |
2010-07-21 | i965: Set the send commit bit on register spills as required pre-gen6. | Eric Anholt | |
Otherwise, the subsequent read may not get the written value. | |||
2010-07-21 | i965: Add disasm for dataport reads (register unspilling). | Eric Anholt | |
2010-07-21 | i965: Remove an unused variable. | Carl Worth | |
To quiet a compiler warning. | |||
2010-07-20 | radeon: Remove unnecessary header. | Vinson Lee | |
2010-07-19 | glx: Remove support for MESA_swap_frame_usage | Kristian Høgsberg | |
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking. | |||
2010-07-19 | glx: Drop support for GLX_MESA_allocate_memory | Kristian Høgsberg | |
Only r200 implemented it. | |||
2010-07-19 | i965: Mostly fix glsl-max-varyings. | Eric Anholt | |
There was confusion on both the size of message we can send, and on what the URB destination offset means. The remaining problems appear to be due to spilling of regs in the fragment shader being broken. | |||
2010-07-19 | i965: Clean up message register setup in emit_vertex_write(). | Eric Anholt | |
2010-07-19 | i965: Reduce repeated calculation of the attribute-offset-in-VUE. | Eric Anholt | |
This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results. | |||
2010-07-19 | i965: Clarify the nr_regs calculation in brw_clip.c | Eric Anholt | |
2010-07-19 | i965: Don't set up VUE space for the disabled user clip distances on gen6. | Eric Anholt | |
2010-07-15 | r600: fix typo in r700 assembler | Alex Deucher | |
Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | radeon: Also flush if it's not the current context that's being destroyed. | Henri Verbeet | |
This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | radeon: allow driconf vblank settings with dri2 | Alex Deucher | |
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-14 | r300/compiler: fix swizzling in the transformation of Abs modifiers | Marek Olšák | |
2010-07-13 | r300/compiler: implement the Abs source operand modifier for vertex shaders | Marek Olšák | |
2010-07-13 | r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shaders | Marek Olšák | |
Despite the docs, the corresponding hardware instructions are r5xx-only. | |||
2010-07-12 | Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesa | Maciej Cencora | |
2010-07-12 | r600: Fix include recursion. | Vinson Lee | |
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion. |