Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-15 | nv50: handle SEQ, SGT, SLE, SNE opcodes | Christoph Bumiller | |
2009-09-15 | nv50: SIN and COS use src0.w for dst.w | Christoph Bumiller | |
2009-09-15 | nv50: use broadcast TEMP reg in tx_insn | Christoph Bumiller | |
Makes some opcode cases nicer and might reduce the total nr of TEMPs required, or save some MOVs. | |||
2009-09-15 | nv50: add nv50_tgsi_insn to handle swizzles safely | Christoph Bumiller | |
2009-09-15 | nv50: add functions for swizzle resolution | Christoph Bumiller | |
We're going to try to reorder the scalar ops of a vector instr to accomodate swizzles that would otherwise require us to emit to an additional TEMP first (like MOV R0.xy, R0.zx). | |||
2009-09-15 | nv50: extend insn src mask function | Christoph Bumiller | |
Extend its usage to avoiding e.g. emission of negation instructions in tx_insn for sources we don't need. | |||
2009-09-15 | st/g3dvl: pass color values to softpipe clear function | Cooper Yuan | |
2009-09-15 | xvmc: Generate new resource ID in _XIDHandler, otherwise it's invalid. | Cooper Yuan | |
2009-09-14 | progs/vp: print program and error info when program does not compile | Brian Paul | |
2009-09-14 | glsl: added some link debug code (disabled) | Brian Paul | |
2009-09-14 | docs: document linker/preprocessor bug fix | Brian Paul | |
2009-09-14 | glsl: remove extra #version directives from concatenated shader sources | Brian Paul | |
When we concatenate shaders to do our form of poor-man linking, if there's multiple #version directives, preprocessing fails. This change disables the extra #version directives by changing the first two chars to //. This should help with some Wine issues such as bug 23946. | |||
2009-09-14 | st/xorg: add some debugging helpers | Zack Rusin | |
2009-09-14 | r600: add span support for 1D tiles | Alex Deucher | |
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z* | |||
2009-09-14 | r600: fix warning | Alex Deucher | |
Noticed by rnoland on IRC. | |||
2009-09-14 | st/mesa: minor whitespace, comment clean-ups | Brian Paul | |
2009-09-14 | st/xorg: fix ureg_DECL_constant() parameters | Brian Paul | |
This fixes the compilation errors reported in bug 23945 but someone more familiar with the code should review for correctness and close the bug report. | |||
2009-09-14 | scons: Allow to use only the WINDDK headers. | José Fonseca | |
2009-09-14 | scons: Allow to use MS's DXSDK headers with MinGW. | José Fonseca | |
2009-09-14 | gallium: Add pipe_transfer_map/unmap inlines. | José Fonseca | |
2009-09-14 | util: Add _BitScanForward intrinsic's declaration. | José Fonseca | |
It is missing in some Microsoft DDKs. | |||
2009-09-14 | intel: minor code clean-ups | Brian Paul | |
2009-09-14 | intel: fix renderbuffer map/unmap regression | Brian Paul | |
Commit 36dd53a3cded9d003ec418732b7fc93c1476aa9b caused a few regressions because the glReadBuffer() buffer wasn't getting mapped when GL_READ_BUFFER != GL_DRAW_BUFFER. | |||
2009-09-14 | intel: remove unneeded driver function assignments | Brian Paul | |
These default swrast functions are already installed by _mesa_init_driver_functions(). | |||
2009-09-14 | progs/tests: exercise display lists and pixelstore | Brian Paul | |
2009-09-14 | gallium: Add Mac OS to pipe/p_thread.h. | Vinson Lee | |
Mac OS also has POSIX threads. | |||
2009-09-14 | configure: fix comment | Thierry Vignaud | |
2009-09-14 | mesa/st: remove dead comment | Keith Whitwell | |
2009-09-14 | st/mesa: convert to new tgsi_ureg mechanism for shader emit | Keith Whitwell | |
Should be easier to read and work with than the older ways of emitting TGSI tokens. Also, emit simpler TGSI than previously: - translate away source and dest extended modifiers - translate away the SWZ opcode | |||
2009-09-14 | nv50: Fix m2mf positions. | Marcin Kościelnicki | |
2009-09-14 | llvmpipe: Make lp_type a regular union. | José Fonseca | |
Union not worth the hassle of violating C99 or adding a name to the structure. | |||
2009-09-14 | util: Fix a1r5g5b5's format description. | José Fonseca | |
2009-09-14 | g3dvl: update tgsi_opcode in order to build g3dvl library | Cooper Yuan | |
2009-09-13 | tgsi: handle some src/dst aliasing in tgsi_sse2.c | Keith Whitwell | |
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage. | |||
2009-09-13 | llvmpipe: Compute derivatives. | José Fonseca | |
2009-09-13 | llvmpipe: Remove dead references to pipe_winsys. | José Fonseca | |
2009-09-13 | llvmpipe: Use const keyword for input array arguments. | José Fonseca | |
2009-09-13 | llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵ | José Fonseca | |
registers. How I'm thankful for regular expressions -- just a couple of them were all that was needed to do this otherwise tiresome and bug prone change. | |||
2009-09-13 | llvmpipe: Translate more TGSI opcodes. | José Fonseca | |
Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated. | |||
2009-09-13 | llvmpipe: Add a few more common arithmetic functions. | José Fonseca | |
We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world. | |||
2009-09-13 | llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵ | José Fonseca | |
meaning. | |||
2009-09-12 | tgsi: implement saturation | Keith Whitwell | |
Fix recent performance regression. | |||
2009-09-12 | tgsi: add missing implementation of constant decl change | Keith Whitwell | |
2009-09-13 | r300g: delete unused flag due to commit: 09b566e1610 | Cooper Yuan | |
2009-09-12 | ureg: add a mechanism to get the built tokens rather than a full shader | Keith Whitwell | |
Previously ureg would always call the driver's create-shader function. This allows the caller the opportunity to hold onto the tokens if it needs to reuse them, eg. to create an internal draw shader. | |||
2009-09-12 | ureg: add generic emitters for tex and branch instructions | Keith Whitwell | |
Couldn't previously emit these except by calling the opcode-specific helper. | |||
2009-09-12 | tgsi/ureg: give ureg_DECL_constant an explicit index parameter | Keith Whitwell | |
Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier. | |||
2009-09-12 | mesa: remove unused SATURATE_PLUS_MINUS_ONE flag | Keith Whitwell | |
Never set in mesa. Remove from tgsi translation as well. | |||
2009-09-12 | tgsi/ureg: VS inputs don't have any semantic tags, just an index | Keith Whitwell | |
Fix ureg_DECL_vs_input to reflect this and fix up all callers. | |||
2009-09-12 | tgsi: free tokens on error | Keith Whitwell | |