Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-27 | glsl2: Make the dead code handler make its own talloc context. | Eric Anholt | |
This way, we don't need to pass in a parse state, and the context doesn't grow with the number of passes through optimization. | |||
2010-07-27 | mesa: Allow large temporary indices coming into the temporary reg allocator. | Eric Anholt | |
This gets glsl-vs-raytrace, glsl-fs-raytrace running on the new compiler. | |||
2010-07-27 | glsl2: Talloc type names. | Eric Anholt | |
Otherwise, we end up losing structure names after compile time, and dumping IR often ends up reporting some other mysterious string. | |||
2010-07-27 | r600g: always emit literal after emiting an alu instruction | Jerome Glisse | |
Make sure we always fill in the literal after alu instruction. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-27 | ir_to_mesa: Set the swizzle on constant struct src regs. | Eric Anholt | |
MESA_GLSL=nopt now produces believable output for glsl-fs-raytrace. | |||
2010-07-27 | ir_to_mesa: Fix stray "break" that broke functions of >1 argument. | Eric Anholt | |
2010-07-27 | glsl2: Add optimization pass for algebraic simplifications. | Eric Anholt | |
This cleans up the assembly output of almost all the non-logic tests glsl-algebraic-*. glsl-algebraic-pow-two needs love (basically, flattening to a temporary and squaring it). | |||
2010-07-27 | ir_validate: Check the types of expression operations. | Eric Anholt | |
2010-07-27 | llvmpipe: Use lp_build_select_bitwise() where appropriate. | José Fonseca | |
Fixes fdo 29269. | |||
2010-07-27 | gallivm: Add lp_build_select_bitwise() alternative to lp_build_select_bitwise | José Fonseca | |
When (mask & a) | (~mask & b) is meant instead of mask ? a : b | |||
2010-07-27 | glsl2: Fix missing visit_continue return in ir_validate. | Eric Anholt | |
2010-07-26 | cell: comment-out unused fields, functions | Brian Paul | |
2010-07-26 | cell: make functions static | Brian Paul | |
2010-07-26 | cell: fix segfault when freeing samplers | Brian Paul | |
2010-07-26 | cell: comment-out unneeded padding field | Brian Paul | |
2010-07-26 | cell: added const qualifier | Brian Paul | |
2010-07-26 | util: fix unused function warning on non-x86 | Brian Paul | |
2010-07-26 | ir_to_mesa: Fix up handling of void function returns. | Eric Anholt | |
void functions have a type of glsl_type::void_type, not a null type. | |||
2010-07-26 | ir_to_mesa: Actually allocate the right size for constant matrix temps. | Eric Anholt | |
2010-07-26 | ir_to_mesa: Add support for structure constants. | Eric Anholt | |
Fixes: TPPStreamCompiler::assignOperands | |||
2010-07-26 | glsl2: Also steal the constant components of aggregate-typed ir_constants. | Eric Anholt | |
2010-07-26 | glsl2: Steal ir_variable's constant_value field. | Kenneth Graunke | |
Fixes a link-time crash in glsl-vs-cross-3. | |||
2010-07-26 | glsl2: Remove old .gitignore file from when we were out of tree. | Eric Anholt | |
2010-07-26 | Merge remote branch 'origin/master' into glsl2 | Eric Anholt | |
This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h | |||
2010-07-26 | ir_to_mesa: Flag when we use the address reg. | Eric Anholt | |
Hardware backends will get angry otherwise. | |||
2010-07-26 | glx: Remove function prototypes no longer necessary | 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 | glx: Drop debug fprintf that snug in with the previous commit | Kristian Høgsberg | |
2010-07-26 | glx: Enable copy subbuffer patch when GLX_DIRECT_RENDERING is #defined | Kristian Høgsberg | |
Depending on __DRI_COPY_SUB_BUFFER doesn't work when we no longer include dri_interface.h. https://bugs.freedesktop.org/show_bug.cgi?id=29264 | |||
2010-07-26 | st/egl: Fix debug line | nobled | |
Acked-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2010-07-26 | util: fix CPU detection on OS X | nobled | |
s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN. Acked-by: Vinson Lee <vlee@vmware.com> | |||
2010-07-26 | st/xorg: fix use-after-free | nobled | |
Acked-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2010-07-26 | i965g: Enable llvm in dri driver if built | Jakob Bornecrantz | |
2010-07-26 | i915g: Fix llvm build | nobled | |
Acked-by: Jakob Bornecrantz <jakob@vmware.com> | |||
2010-07-26 | glx: Drop duplicate psc field in dri context struct | Kristian Høgsberg | |
Same problem as fixed for drisw in 4d58b5b482d06ab8d4c4b2db33d0b48b7c82d064. | |||
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-26 | r600g: implememt the LIT instruction | Stephan Schmid | |
2010-07-26 | util: fix another mutex leak in mempool | Marek Olšák | |
By fixing one, I introduced another. Crap. | |||
2010-07-26 | util: fix mutex leaks in mempool | Marek Olšák | |
2010-07-26 | nv50: add missing 2nd source for POW multiplication | Christoph Bumiller | |
2010-07-26 | nv50: permit usage of undefined TGSI TEMPs | Christoph Bumiller | |
2010-07-26 | nv50: fix constant_operand opt mul by 2 case | Christoph Bumiller | |
2010-07-26 | nv50: simple reload elimination and local CSE | Christoph Bumiller | |
2010-07-26 | r300g: fix macro substitution problem | Dave Airlie | |
isn't a problem yet, but have issues in hiz branch. Signed-off-by: Dave Airlie <airlied@redhat.com> |