Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-15 | r600: support position_invariant programs | Andre Maasikas | |
2009-09-15 | gallium: Use the enum for pipe_transfer::usage. | José Fonseca | |
2009-09-15 | gallium: pipe_transfer_destroy helper inline. | José Fonseca | |
2009-09-15 | nv50: fix stupid thinko in emit_set | Christoph Bumiller | |
When swapping sources 0 and 1, EQ of course does *not* become NE, etc. Introduced in 2b963f5c723401aa2646bd48eefe065cd335e280. | |||
2009-09-15 | gallium: Fix pointer type casts. | Michal Krol | |
2009-09-15 | nv50: let programs use the whole param buffer | Christoph Bumiller | |
Allocation is unnecessary since all uniforms are uploaded on every constant buffer change anyway. | |||
2009-09-15 | nv50: add preliminary support for point sprites | Christoph Bumiller | |
2009-09-15 | nv50: add support for point size per vertex | Christoph Bumiller | |
2009-09-15 | nv50: add support for light-twoside | Christoph Bumiller | |
2009-09-15 | nv50: proper linkage between VP and FP | Christoph Bumiller | |
This moves construction of the mapping between VP outputs and FP inputs into validation. The map also contains slots for special outputs like clip distance and point size, so we need to at least merge the VP related and FP related parts on validation if we want to support those. Now we match every single FP input component with results from the VP and leave those not read out of the map, or replace those not written by 0 (xyz) or 1 (w). The bitmap indicating linear interpolants is also filled, and flat FP inputs are mapped in only after non-flat ones, as is required. Furthermore, we can save some space by only fetching VP attrs we actually use, and avoid wasting any output regs because of TGSI using less than 4 components. | |||
2009-09-15 | nv50: move allocation of pc regs | Christoph Bumiller | |
Make use of tgsi_shader_info to determine how many nv50_regs we need to allocate, whether program uses KIL, or writes DEPR. | |||
2009-09-15 | nv50: nicer initialization of nv50_regs | Christoph Bumiller | |
2009-09-15 | nv50: handle CEIL and TRUNC opcodes | Christoph Bumiller | |
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 | |