Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-15 | nv50: avoid excessive FIRE_RING | Maarten Maathuis | |
- And reduce RING_SPACE to 2, instead of 3. | |||
2009-09-15 | nv50: use flush_notify to reduce number of relocs | Maarten Maathuis | |
2009-09-15 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
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 | 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-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-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-13 | r300g: delete unused flag due to commit: 09b566e1610 | Cooper Yuan | |
2009-09-12 | r300g: There is no such thing as "texture stride" | Nicolai Hähnle | |
Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-09-11 | llvmpipe: asst fixes for 'make linux-llvmpipe' | Brian Paul | |
2009-09-11 | r300g: only allocate one BO for vertex buffers, default size is 64*1024 | Cooper Yuan | |
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on | |||
2009-09-11 | llvmpipe: set dirty_render_cache in llvmpipe_clear() | José Fonseca | |
Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers. | |||
2009-09-11 | llvmpipe: Update status in README and TODO/FIXME comments throughout the code. | José Fonseca | |
2009-09-10 | softpipe: remove no-op softpipe_init_texture_funcs() function | Brian Paul | |
2009-09-10 | softpipe: remove unused #includes, move comment | Brian Paul | |
2009-09-10 | softpipe: reformatting, clean-ups, comments | Brian Paul | |
2009-09-10 | softpipe: remove unneeded #includes | Brian Paul | |
2009-09-10 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
2009-09-10 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | |
2009-09-10 | softpipe: minor indentation fix | Brian Paul | |
2009-09-10 | softpipe: set dirty_render_cache in softpipe_clear() | Brian Paul | |
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer. | |||
2009-09-10 | nv50: Fix tiling mode for lower mipmap levels. | Marcin Kościelnicki | |
2009-09-10 | llvmpipe: Fix alpha test. | José Fonseca | |
2009-09-10 | llvmpipe: Mask out color channels not present in the color buffer. | José Fonseca | |
2009-09-10 | llvmpipe: Fix sampling from depth textures. Respect texture compare func. | José Fonseca | |
Fixes Mesa shadowtex sample. | |||
2009-09-10 | llvmpipe: Skip blending when mask is zero. | José Fonseca | |
This increases quake3 timedemo fps another 10%. | |||
2009-09-10 | llvmpipe: Proper control flow builders. | José Fonseca | |
New control flow helper functions which keep track of all variables and generate the correct Phi functions. This re-enables skipping the fs execution of quads masked out by the rasterizer, early z testing, and kill opcode. This yields a performance improvement of around 20%. | |||
2009-09-10 | llvmpipe: Copy the texture target into the sampler static state. | José Fonseca | |
Hunk forgotten in previous commit. | |||
2009-09-09 | llvmpipe: Quick hack for 1D textures. | José Fonseca | |
2009-09-09 | llvmpipe: Fix depth mask computation. | José Fonseca | |
Fixes depth test for 24bit depth formats. |