Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP | Alan Hourihane | 2010-04-26 | 1 | -10/+2 |
| | |||||
* | draw: Always use the llvm middle end when available & enabled. | José Fonseca | 2010-04-26 | 2 | -17/+23 |
| | |||||
* | svga: Pass-through max_index to translate. | José Fonseca | 2010-04-26 | 1 | -1/+1 |
| | |||||
* | draw: Pass-through pipe_buffer::max_index to translate. | José Fonseca | 2010-04-26 | 7 | -19/+34 |
| | | | | | | | | | | max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now. | ||||
* | translate: Take and respect a max_index argument. | José Fonseca | 2010-04-26 | 3 | -8/+24 |
| | |||||
* | r300g: Rudimentary stats, printed on exit. | Corbin Simpson | 2010-04-26 | 4 | -0/+22 |
| | | | | Whoo! | ||||
* | r300g: Add stats debug flag. | Corbin Simpson | 2010-04-26 | 2 | -0/+2 |
| | |||||
* | os: Check for spurious wakeups in pipe_barrier_wait. | Vinson Lee | 2010-04-26 | 1 | -1/+8 |
| | | | | | | | | | | | | | | The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri. | ||||
* | r300g: Use table CS writing when applicable. | Corbin Simpson | 2010-04-26 | 1 | -35/+13 |
| | | | | I just broke the 2000 fps barrier on glxgears. Yay? | ||||
* | r300g: Add CS table writing. | Corbin Simpson | 2010-04-26 | 3 | -0/+19 |
| | |||||
* | et/egl: Remove dead code. | Vinson Lee | 2010-04-26 | 1 | -3/+0 |
| | | | | | proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned. | ||||
* | nvfx: Add include path to SCons build. | Vinson Lee | 2010-04-25 | 1 | -0/+4 |
| | |||||
* | r300g: support index bias on r500 and DRM 2.3.0 | Marek Olšák | 2010-04-26 | 1 | -13/+40 |
| | |||||
* | r300g: support rendering more than 65535 vertices in one batch on r500 | Marek Olšák | 2010-04-26 | 1 | -21/+4 |
| | | | | and disable batch splitting on these chipsets. | ||||
* | r300g: emit MSPOS regs | Marek Olšák | 2010-04-26 | 6 | -15/+21 |
| | |||||
* | r300g: force prefetch for non-indexed vertices | Marek Olšák | 2010-04-26 | 4 | -8/+8 |
| | |||||
* | r300g: use the dummy FS shader for shaders with zero instructions | Marek Olšák | 2010-04-26 | 1 | -0/+8 |
| | |||||
* | r300g: allow unaligned vertex formats if the stride is dword-aligned | Marek Olšák | 2010-04-26 | 2 | -7/+43 |
| | |||||
* | r300g: abort on unsupported vertex formats | Marek Olšák | 2010-04-26 | 1 | -0/+4 |
| | |||||
* | r300g: abort if a vertex buffer offset is not dword-aligned | Marek Olšák | 2010-04-26 | 1 | -0/+9 |
| | |||||
* | st/wgl: s/st_manager_create_api/st_gl_api_create/ | Vinson Lee | 2010-04-25 | 1 | -2/+2 |
| | | | | | | | commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced st_manager_create_api with st_gl_api_create. Fixes MSVC build. | ||||
* | nvfx: Add missing header. | Vinson Lee | 2010-04-25 | 1 | -0/+1 |
| | |||||
* | st/dri: Refactor dri_st_api into other files | Jakob Bornecrantz | 2010-04-26 | 17 | -303/+173 |
| | |||||
* | st/dri: Make st_framebuffer_iface the base for dri_drawable | Jakob Bornecrantz | 2010-04-26 | 8 | -41/+26 |
| | |||||
* | st/dri: Make st_manager the base for dri_screen | Jakob Bornecrantz | 2010-04-26 | 8 | -85/+35 |
| | |||||
* | st/dri: Add hooks for framebuffer functions | Jakob Bornecrantz | 2010-04-26 | 10 | -123/+94 |
| | |||||
* | st/dri: Make lookup_egl_image a hook | Jakob Bornecrantz | 2010-04-26 | 4 | -10/+13 |
| | |||||
* | st_api: Remove st_module | Jakob Bornecrantz | 2010-04-26 | 7 | -82/+62 |
| | | | | | | The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API. | ||||
* | llvmpipe: Respect pipe_sampler_view::swizzle_r/g/b/a | José Fonseca | 2010-04-26 | 3 | -1/+63 |
| | | | | This allows u_sampler_view_default_dx9_template to do its magic on DX9. | ||||
* | draw: Respect pipe_vertex_buffer::max_index in llvm generated code. | José Fonseca | 2010-04-25 | 2 | -4/+13 |
| | | | | | | Everybody should respect max_index, specially llvm generated code, which likes to eat vertices 4 at a time, so it may end up chew a bit a bit more than actually exists. | ||||
* | llvmpipe: No need to flush the caches for buffers. | José Fonseca | 2010-04-25 | 2 | -12/+14 |
| | |||||
* | softpipe: Make softpipe transfers in-order. | José Fonseca | 2010-04-25 | 5 | -4/+109 |
| | | | | | | | | | | | Transfer, being now a context operation, should happen in order with all other contexts operations. If there is rendering pending on the resource then the driver must flush and potentially wait itself internally. Instead of avoiding using transfers internally (as done in llvmpipe) I've opted to simply pass PIPE_TRANSFER_UNSYNCHRONIZED in all internal transfers, to avoid infinite recursion. | ||||
* | llvmpipe: Cleanup/improve llvmpipe_flush_resource usage. | José Fonseca | 2010-04-25 | 4 | -36/+48 |
| | | | | Recognize PIPE_TRANSFER_UNSYNCHRONIZED and PIPE_TRANSFER_DONTBLOCK. | ||||
* | llvmpipe: Remove unused variable. | Vinson Lee | 2010-04-25 | 1 | -2/+0 |
| | |||||
* | llvmpipe: llvmpipe_flush_texture -> llvmpipe_flush_resource | José Fonseca | 2010-04-25 | 4 | -15/+12 |
| | |||||
* | llvmpipe: Fix buffer overflow unswizzling several formats. | José Fonseca | 2010-04-25 | 1 | -1/+1 |
| | | | | | Array formats without for channels were being advanced as four channels, causing buffer overflows. | ||||
* | softpipe: Hardcode TILE_CLEAR_OPTIMIZATION to 1. | José Fonseca | 2010-04-25 | 3 | -20/+1 |
| | | | | | The un-optimized path relies on surface_fill which can only handle formats with depth <= 32, so it is pointless to keep it around. | ||||
* | llvmpipe: Replace tile_read/write with more descriptive swizzle/unswizzle verbs. | José Fonseca | 2010-04-25 | 4 | -24/+36 |
| | |||||
* | llvmpipe: Cleanup llvmpipe_is_format_supported(). | José Fonseca | 2010-04-25 | 1 | -20/+19 |
| | | | | It should be just cosmetic. | ||||
* | softpipe: More accurate softpipe_is_format_supported(). | José Fonseca | 2010-04-25 | 1 | -19/+55 |
| | | | | | Unfortunately there are some heavy limitations on supported render target formats due to the way clear values are used internally. | ||||
* | llvmpipe: Remove sp2lp.sh. | José Fonseca | 2010-04-25 | 1 | -34/+0 |
| | | | | Irrelevant now that llvmpipe and softpipe grew so far apart. | ||||
* | llvmpipe: lp_tex_sample_llvm.c -> lp_tex_sample.c | José Fonseca | 2010-04-25 | 3 | -2/+2 |
| | | | | 'llvm' suffix unnecessary now that the C sampling version disappeared. | ||||
* | st/dri: Add missing header. | Vinson Lee | 2010-04-25 | 1 | -0/+2 |
| | | | | Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB. | ||||
* | gallivm: Rename variable info to opcode_info. | Vinson Lee | 2010-04-25 | 1 | -3/+3 |
| | | | | Avoid hiding existing variable already named info in outer scope. | ||||
* | gallivm: Remove NULL check of pointer that can't be NULL. | Vinson Lee | 2010-04-24 | 1 | -1/+1 |
| | | | | | | info cannot be NULL at the call to debug_printf. emit_instruction dereferences info, so at debug_printf it is either not NULL or the program has already crashed. | ||||
* | nvfx: Add to SCons build. | Vinson Lee | 2010-04-24 | 1 | -0/+36 |
| | |||||
* | nv50: Add to SCons build. | Vinson Lee | 2010-04-24 | 1 | -0/+26 |
| | |||||
* | llvmpipe: Remove unused variable. | Vinson Lee | 2010-04-24 | 1 | -2/+0 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-04-24 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Implement shader bias. | José Fonseca | 2010-04-24 | 1 | -6/+15 |
| | | | | Fixes glean glsl1 test: texture2D(), with bias. |