Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: added gl_program::IndirectRegisterFiles field | Brian Paul | 2010-07-30 | 8 | -210/+234 |
| | | | | | | | | Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker. | ||||
* | llvmpipe: Silence unused value warning. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | |||||
* | mesa: Add missing header to multisample.h. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | draw: actually a noop, rather than not implemented | Zack Rusin | 2010-07-30 | 1 | -1/+4 |
| | | | | we just have nothing to do in it right now | ||||
* | mesa: Remove unnecessary header from colormac.h. | Vinson Lee | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | tgsi: remove incorrect assertion | Brian Paul | 2010-07-30 | 1 | -1/+0 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-07-30 | 6 | -6/+0 |
| | |||||
* | llvmpipe: Fix implicit declaration of lp_func_delete_body warnings. | Vinson Lee | 2010-07-30 | 2 | -0/+2 |
| | |||||
* | util: Fix the range of util_draw_elements_instanced. | Chia-I Wu | 2010-07-30 | 1 | -2/+0 |
| | | | | Keep min_index and max_index at their defaults (0 and ~0). | ||||
* | llvmpipe: delete function bodies after generating machine code | Zack Rusin | 2010-07-30 | 4 | -0/+13 |
| | |||||
* | r600g: fix typo in tex instruction + shader semantic id fix | Jerome Glisse | 2010-07-30 | 1 | -8/+9 |
| | | | | | | | It seems we never get semantic id from TGSI so fallback to use output number as id. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | util: more helpers for old draw code | Keith Whitwell | 2010-07-30 | 2 | -25/+141 |
| | |||||
* | mesa: Include macros.h in files that use symbols from macros.h. | Vinson Lee | 2010-07-30 | 11 | -0/+11 |
| | | | | Don't rely on inclusion of other files that already include macros.h. | ||||
* | mesa: Include macros.h in attrib.c for COPY_4FV symbol. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | |||||
* | intel: Add missing header to intel_context.c. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | | | | | Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning. | ||||
* | mesa: Reduce clip.h header file inclusion. | Vinson Lee | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | mesa: Add missing header to framebuffer.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLvisual and GLcontext symbols. | ||||
* | mesa: Add missing header to fboject.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing header to texgetimage.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | |||||
* | mesa: Add missing header to texrender.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing header and forward declarations to uniforms.h. | Vinson Lee | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | mesa: Add missing headers to viewport.h. | Vinson Lee | 2010-07-29 | 1 | -0/+2 |
| | |||||
* | mesa: Add missing header to depthstencil.h. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add mtypes.h for GLcontext symbol. | ||||
* | mesa: Add missing headers to debug.h. | Vinson Lee | 2010-07-29 | 1 | -0/+3 |
| | |||||
* | intel: Add missing header. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add context.h for NEED_SECONDARY_COLOR symbol. | ||||
* | dri: Add missing header to dri_metaops.c. | Vinson Lee | 2010-07-29 | 1 | -0/+1 |
| | | | | Add context.h for FLUSH_VERTICES symbol. | ||||
* | mesa: Reduce clear.h header file inclusion. | Vinson Lee | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: Reduce bufferobj.h header file inclusion. | Vinson Lee | 2010-07-29 | 1 | -1/+1 |
| | | | | | Directly include mtypes.h instead of including context.h to include mtypes.h. | ||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-07-29 | 2 | -2/+0 |
| | |||||
* | llvmpipe: fix on-debug build breakage | Brian Paul | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | llvmpipe: added some jit debug code | Brian Paul | 2010-07-29 | 2 | -0/+40 |
| | | | | | If we crash in the jitted function we can examine jit_line and jit_state in gdb to learn more about the shader. | ||||
* | draw: do bounds checking of array elements (debug only) | Brian Paul | 2010-07-29 | 1 | -9/+26 |
| | | | | | | | | | Make sure that all the element indexes actually lie inside the vertex buffer. Also, rename pipe_run() to pipe_run_elts() to be more specific. And assert/check the vertex count for the non-indexed case. | ||||
* | draw: assorted clean-ups in clipper code | Brian Paul | 2010-07-29 | 1 | -20/+20 |
| | |||||
* | gallium: implement bounds checking for constant buffers | Brian Paul | 2010-07-29 | 16 | -27/+117 |
| | | | | | | Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter. | ||||
* | draw: add vertex buffer offset in draw_print_arrays() | Brian Paul | 2010-07-29 | 1 | -0/+1 |
| | |||||
* | llvmpipe: silence warnings in lp_test_sincos.c | Brian Paul | 2010-07-29 | 1 | -2/+3 |
| | |||||
* | r600g: mipmap early support + EX2/ABS instruction + culling | Jerome Glisse | 2010-07-29 | 6 | -34/+108 |
| | | | | | | | | | | Add mipmap support (demos/src/redbook/mipmap is working) Add EX2/ABS shader instruction support. Add face culling support. Misc fixes. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | glx: Fix copy/paste bug in glXWaitX and glXWaitGL | Kristian Høgsberg | 2010-07-29 | 1 | -2/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=29304 | ||||
* | glx: Compare old ctx against dummyCtx, not NULL | Kristian Høgsberg | 2010-07-29 | 3 | -2/+4 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=29302 | ||||
* | glx: Fix linked list deletion in __glXCloseDisplay() | Kristian Høgsberg | 2010-07-29 | 1 | -1/+1 |
| | | | | I hate single linked lists. | ||||
* | intel: Declare the various tracked state variables using "extern" | Kristian Høgsberg | 2010-07-29 | 1 | -62/+62 |
| | |||||
* | intel: Don't depend on context config values when picking texture formats | Kristian Høgsberg | 2010-07-29 | 1 | -24/+12 |
| | |||||
* | egl_dri2: Set API version for DRM display | Kristian Høgsberg | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | r300g/swtcl: fix crash in ETQW and minor fixups | Marek Olšák | 2010-07-29 | 3 | -26/+14 |
| | | | | | | | The Draw flush inside r300_flush was the culprit. Also, no need to flush Draw when changing a state since the flush is already inside swtcl_draw_vbo. | ||||
* | r300g/swtcl: fix crash after the draw_vbo merge | Marek Olšák | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | llvmpipe: also test the new lp_build_assert() function | Brian Paul | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | llvmpipe: don't call LLVMCreateJITCompiler() twice | Brian Paul | 2010-07-29 | 5 | -45/+14 |
| | | | | | | | | | Fixes a failed assertion with LLVM 2.6: <unnamed>::JITResolver::JITResolver(llvm::JIT&): Assertion `TheJITResolver == 0&& "Multiple JIT resolvers?"' failed. Though, not everyone seems to experience this problem. | ||||
* | gallivm: added lp_build_assert() function to make assertions in LLVM code | Brian Paul | 2010-07-29 | 4 | -0/+144 |
| | |||||
* | Revert "gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture" | José Fonseca | 2010-07-29 | 1 | -3/+0 |
| | | | | | | This reverts commit 5f90e76c54bbf4456c977b3cbca450d7a570179e. Bad cherry-pick. | ||||
* | gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture | Brian Paul | 2010-07-29 | 1 | -0/+3 |
| | | | | | If y==NULL and y_stride==NULL it means the texture is 1D. Return zero for out_i and the offset instead of garbage. |