Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel: Remove unused intel/server files | Kristian Høgsberg | 2010-07-27 | 5 | -397/+2 |
| | |||||
* | r600g: always emit literal after emiting an alu instruction | Jerome Glisse | 2010-07-27 | 1 | -29/+32 |
| | | | | | | Make sure we always fill in the literal after alu instruction. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: Use lp_build_select_bitwise() where appropriate. | José Fonseca | 2010-07-27 | 1 | -11/+11 |
| | | | | Fixes fdo 29269. | ||||
* | gallivm: Add lp_build_select_bitwise() alternative to lp_build_select_bitwise | José Fonseca | 2010-07-27 | 2 | -22/+50 |
| | | | | | | | | | | When (mask & a) | (~mask & b) is meant instead of mask ? a : b | ||||
* | cell: comment-out unused fields, functions | Brian Paul | 2010-07-26 | 1 | -2/+4 |
| | |||||
* | cell: make functions static | Brian Paul | 2010-07-26 | 1 | -3/+3 |
| | |||||
* | cell: fix segfault when freeing samplers | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: comment-out unneeded padding field | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: added const qualifier | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | util: fix unused function warning on non-x86 | Brian Paul | 2010-07-26 | 1 | -0/+3 |
| | |||||
* | glx: Remove function prototypes no longer necessary | Kristian Høgsberg | 2010-07-26 | 1 | -7/+0 |
| | |||||
* | 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 | ||||
* | glx: Drop debug fprintf that snug in with the previous commit | Kristian Høgsberg | 2010-07-26 | 1 | -2/+0 |
| | |||||
* | glx: Enable copy subbuffer patch when GLX_DIRECT_RENDERING is #defined | Kristian Høgsberg | 2010-07-26 | 1 | -1/+3 |
| | | | | | | | 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 | ||||
* | st/egl: Fix debug line | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | util: fix CPU detection on OS X | nobled | 2010-07-26 | 1 | -6/+6 |
| | | | | | | s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN. Acked-by: Vinson Lee <[email protected]> | ||||
* | st/xorg: fix use-after-free | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | i965g: Enable llvm in dri driver if built | Jakob Bornecrantz | 2010-07-26 | 1 | -3/+8 |
| | |||||
* | i915g: Fix llvm build | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | glx: Drop duplicate psc field in dri context struct | Kristian Høgsberg | 2010-07-26 | 1 | -3/+2 |
| | | | | Same problem as fixed for drisw in 4d58b5b482d06ab8d4c4b2db33d0b48b7c82d064. | ||||
* | 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. | ||||
* | r600g: implememt the LIT instruction | Stephan Schmid | 2010-07-26 | 1 | -1/+119 |
| | |||||
* | util: fix another mutex leak in mempool | Marek Olšák | 2010-07-26 | 1 | -2/+1 |
| | | | | By fixing one, I introduced another. Crap. | ||||
* | util: fix mutex leaks in mempool | Marek Olšák | 2010-07-26 | 1 | -1/+2 |
| | |||||
* | r300g: fix macro substitution problem | Dave Airlie | 2010-07-26 | 1 | -2/+2 |
| | | | | | | isn't a problem yet, but have issues in hiz branch. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: implement D24X8 texture sampling for r3xx-r4xx | Marek Olšák | 2010-07-25 | 5 | -22/+34 |
| | | | | | | | | | Because the hw can't sample it, I reinterpret the format as G16R16 and sample the G component. This gives 16 bits of precision, which should be enough for depth texturing (surprisingly, the sampled values are exactly the same as in D16 textures). This also enables EXT_packed_depth_stencil on those old chipsets, finally. | ||||
* | r300g: make sure a texture is large enough for the CBZB clear | Marek Olšák | 2010-07-25 | 1 | -52/+49 |
| | | | | | | | The number of macrotiles in the Y direction must be even, otherwise memory corruption may happen (e.g. broken fonts). Basically, if we get a buffer in resource_from_handle, we can determine from the buffer size whether it's safe to use the CBZB clear or not. | ||||
* | r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT | Marek Olšák | 2010-07-25 | 6 | -11/+15 |
| | |||||
* | r300g: do not use TXPITCH_EN for power-of-two textures from the DDX | Marek Olšák | 2010-07-25 | 1 | -6/+14 |
| | | | | We were using TXPITCH_EN for textures from the DDX since ever, for nothing. | ||||
* | r300g: cleanup texture creation code | Marek Olšák | 2010-07-25 | 13 | -543/+733 |
| | | | | | | | | | | | | This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups. | ||||
* | r300g: reject resources from handles which are not large enough | Marek Olšák | 2010-07-25 | 5 | -11/+34 |
| | | | | | | | | The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs. | ||||
* | r300g: cleanup texture debug logging | Marek Olšák | 2010-07-25 | 3 | -18/+25 |
| | |||||
* | r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped textures | Marek Olšák | 2010-07-25 | 1 | -1/+5 |
| | | | | | I don't remember why the alignment was there, but it seems to be no longer needed. I guess it was a dirty fix for some other bug. | ||||
* | nvfx: Move declaration before code. | Vinson Lee | 2010-07-24 | 1 | -2/+3 |
| | |||||
* | glx: Drop duplicate psc field in drisw context struct | Kristian Høgsberg | 2010-07-24 | 1 | -3/+3 |
| | | | | Causing a crash in drisw MakeCurrent. | ||||
* | glx: Fix another case of confusing driContext and dri2_context * | Eric Anholt | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | glx: Correctly look up the dri2 context pointer for SetTexBuffer. | Eric Anholt | 2010-07-23 | 1 | -1/+1 |
| | | | | | | | gc->driContext points at the second member of the dri2 context. The dri2 context is just a subclass of the GLX context. Fixes piglit tfp testcase. | ||||
* | glx: Don't destroy context with XID 0 | Kristian Høgsberg | 2010-07-23 | 4 | -4/+9 |
| | | | | | We use XID 0 to indicate the context has already been destroyed, but it's currently bound. | ||||
* | glx: Fix use after free case when destroying screens | Kristian Høgsberg | 2010-07-23 | 1 | -1/+0 |
| | |||||
* | glx: zero out drawable structs after allocation | Kristian Høgsberg | 2010-07-23 | 3 | -0/+3 |
| | |||||
* | glx: Refactor and simplify context creation | Kristian Høgsberg | 2010-07-23 | 6 | -205/+185 |
| | | | | | This lets us better separate context creation between the different backends. | ||||
* | glx: Fix indirect screen initialization | Kristian Høgsberg | 2010-07-23 | 1 | -2/+7 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=29225 | ||||
* | glx: Move context destroy to context vtable | Kristian Høgsberg | 2010-07-23 | 7 | -105/+83 |
| | |||||
* | util: Add PIPE_OS_CYGWIN to u_network. | Vinson Lee | 2010-07-23 | 1 | -1/+1 |
| |