Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Take the sampler view's first_level into account when sampling. | Fabian Bieler | 2011-04-08 | 14 | -33/+78 |
| | |||||
* | softpipe: Take the sampler view's first_level into account when sampling. | Henri Verbeet | 2011-04-08 | 1 | -16/+16 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/mesa: Clamp min_lod to the max miplevel as well. | Henri Verbeet | 2011-04-08 | 1 | -1/+3 |
| | | | | | | | | Otherwise min_lod can potentially be larger than the clamped max_lod. The code that follows will swap min_lod and max_lod in that case, resulting in a max_lod larger than MAX_LEVEL. Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/mesa: Set samplers views' first_level. | Henri Verbeet | 2011-04-08 | 2 | -7/+6 |
| | | | | | | | | Base level and min LOD aren't equivalent. In particular, min LOD has no effect on image array selection for magnification and non-mipmapped minification. Signed-off-by: Brian Paul <[email protected]> | ||||
* | r300g: do not advertise R16F and RG16F on DRM < 2.8.0 | Marek Olšák | 2011-04-08 | 1 | -2/+5 |
| | |||||
* | r300g: fix texturing with sizes > 2048 on r500 | Marek Olšák | 2011-04-08 | 7 | -8/+52 |
| | |||||
* | r300g: add 'radeon: ' prefix to error messages in winsys | Marek Olšák | 2011-04-08 | 2 | -5/+5 |
| | |||||
* | mesa: fix dstRowDiff computation in RGTC texstore functions | Marek Olšák | 2011-04-08 | 1 | -4/+4 |
| | | | | | Copied from libtxc_dxtn, this fixes NPOT RGTC1 textures with r300g. I also did the same for RGTC2. | ||||
* | egl_dri2.c: Open drm device with O_CLOEXEC | Kristian Høgsberg | 2011-04-07 | 1 | -1/+1 |
| | | | | Not a good fd to leak. | ||||
* | r600g: Unreference framebuffer state on context destruction. | Henri Verbeet | 2011-04-07 | 1 | -0/+1 |
| | | | | Signed-off-by: Henri Verbeet <[email protected]> | ||||
* | r600g: Use symbolic names for NUMBER_TYPE. | Henri Verbeet | 2011-04-07 | 2 | -5/+5 |
| | | | | Signed-off-by: Henri Verbeet <[email protected]> | ||||
* | docs: replace llvmpipe/README with docs/llvmpipe.html | Brian Paul | 2011-04-07 | 2 | -34/+101 |
| | |||||
* | llvmpipe: document issue with LLVM 2.8 and earlier with AVX | Brian Paul | 2011-04-07 | 1 | -0/+4 |
| | |||||
* | util: add cpu detection for sse 4.2 and avx | Brian Paul | 2011-04-07 | 2 | -0/+6 |
| | |||||
* | util: simplify bit shifting in util_cpu_detect() | Brian Paul | 2011-04-07 | 1 | -11/+11 |
| | |||||
* | svga: another tweak to adjust_x term (use -0.5) | Brian Paul | 2011-04-07 | 1 | -1/+1 |
| | |||||
* | mesa: Update _ElementSize in a few more places. | José Fonseca | 2011-04-07 | 3 | -0/+5 |
| | |||||
* | mesa/st: Fix user buffer size computation when stride is zero. | José Fonseca | 2011-04-07 | 3 | -41/+54 |
| | | | | | | | | | | | | | | | | | | | Although for GL a zero stride means tightly packed elements, Mesa internally uses zero strides for constant arrays. Therefore user buffers need to be defined from buffer_offset + src_offset + min_index*stride to buffer_offset + src_offset + max_index*stride + elem_size Simplifying the later with (max_index + 1)*stride will give zero sized buffers. This change also aggregates the st_context's info about user buffers into a single array. | ||||
* | mesa: Update _ElementSize. | Brian Paul | 2011-04-07 | 5 | -0/+7 |
| | |||||
* | mesa/st: Prevent 'end' < 'start' in vbo_exec_DrawRangeElementsBaseVertex() | José Fonseca | 2011-04-07 | 1 | -1/+6 |
| | | | | | | | | We adjust 'end' to fit into _MaxElement, but that may result into a 'start' value bigger than 'end' being passed downstream, causing havoc. This could be seen with arb_robustness_draw-vbo-bounds, due to an application bug. | ||||
* | mesa/st: Handle feedback draw when VBO offsets are not sorted in ascending ↵ | José Fonseca | 2011-04-07 | 1 | -2/+13 |
| | | | | | | | | order. Simply port the same logic from setup_interleaved_attribs(). Avoids overflow in mustpass.c and feedback.c conform tests. | ||||
* | i965: clear global offset to zero in m0.2 for VS DP read. | Zou Nan hai | 2011-04-07 | 1 | -0/+9 |
| | | | | Signed-off-by: Zou Nan hai <[email protected]> | ||||
* | mesa: Fix allocation size of extension_indices array. | Vinson Lee | 2011-04-06 | 1 | -1/+1 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: fix error message text | Brian Paul | 2011-04-06 | 1 | -1/+1 |
| | |||||
* | mesa: consolidate code in _mesa_update_array_max_element() | Brian Paul | 2011-04-06 | 3 | -63/+35 |
| | |||||
* | mesa: Add link to 7.10.2 release notes | Ian Romanick | 2011-04-06 | 1 | -0/+1 |
| | |||||
* | docs: update news.html with 7.10.2 release | Ian Romanick | 2011-04-06 | 1 | -0/+7 |
| | | | | (cherry picked from commit b0866f6cfdfcaf23686b1ae2a99627d468196db2) | ||||
* | Import 7.10.2 release notes from 7.10 branch | Ian Romanick | 2011-04-06 | 1 | -0/+206 |
| | |||||
* | r600g: Fix non-independent blend state. | Julian Adams | 2011-04-06 | 2 | -14/+20 |
| | | | | | | This fixes piglit fbo/fbo-drawbuffers-blend-add. Signed-off-by: Henri Verbeet <[email protected]> | ||||
* | mesa: init/release the default texture buffer object | Brian Paul | 2011-04-06 | 1 | -0/+8 |
| | |||||
* | mesa: fix popping of texture state for GL_TEXTURE_BUFFER | Brian Paul | 2011-04-06 | 1 | -0/+2 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032 | ||||
* | mesa: TEXTURE_BUFFER fix-up | Brian Paul | 2011-04-06 | 1 | -0/+1 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36033 | ||||
* | r300/compiler: Don't try to convert RGB to Alpha in full instructions | Tom Stellard | 2011-04-06 | 1 | -1/+2 |
| | | | | Note: This is a candidate for the 7.10 branch. | ||||
* | mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options. | José Fonseca | 2011-04-06 | 1 | -1/+1 |
| | |||||
* | draw: Fix thinko in debug warnings. | José Fonseca | 2011-04-06 | 1 | -3/+3 |
| | |||||
* | trace: Correct/cleanup. | José Fonseca | 2011-04-06 | 6 | -74/+114 |
| | | | | | | | | | Observe the actual type hierarchy and polymorphism of sampler views and surface state. s/texture/resource/ etc. | ||||
* | Revert "trace: Dump blend state as a binary blob." | José Fonseca | 2011-04-06 | 1 | -1/+37 |
| | | | | | | | This reverts commit dcdf94c87c087186f963b6e201b2989c61a76ef0. No retrace support anymore, so human-legible representation of blend state is much more useful than a blob. | ||||
* | st/python: Remove bindings, and all its dependencies. | José Fonseca | 2011-04-06 | 101 | -7401/+8 |
| | | | | | | | | | Because: - bindings are not fully automatic, and they are broken most of the time - unit tests/samples can be written in C on top of graw - tracing/retracing is more useful at API levels with stable ABIs such as GL, producing traces that cover more layers of the driver stack and and can be used for regression testing | ||||
* | swrast: simplify assertion to silence warning | Brian Paul | 2011-04-05 | 1 | -6/+1 |
| | |||||
* | mesa: core support for GL_ARB_texture_buffer_object | Brian Paul | 2011-04-05 | 12 | -6/+357 |
| | | | | No GLSL or driver support yet. | ||||
* | mesa: regenerated API entrypoints for GL_ARB_texture_buffer_object | Brian Paul | 2011-04-05 | 10 | -8648/+8735 |
| | |||||
* | mesa: API spec for GL_ARB_texture_buffer_object | Brian Paul | 2011-04-05 | 3 | -0/+25 |
| | |||||
* | scons: Generate empty git_sha1.h for all platforms. | Vinson Lee | 2011-04-05 | 1 | -9/+9 |
| | | | | Fixes MinGW SCons build. | ||||
* | ir_to_mesa: Use gl_register_file enum type rather than 'int'. | Kenneth Graunke | 2011-04-05 | 1 | -5/+5 |
| | | | | | | src_reg already used this; make dst_reg use it too. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Unprefix ir_to_mesa_undef* and ir_to_mesa_address_reg. | Kenneth Graunke | 2011-04-05 | 1 | -17/+13 |
| | | | | | | Rename ir_to_mesa_undef to undef_src, for clarity. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Use emit overloads to avoid passing undef registers. | Kenneth Graunke | 2011-04-05 | 1 | -4/+3 |
| | | | | | | Makes the code just a little bit cleaner. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Rename ir_to_mesa_emit_*_opX methods to emit_*. | Kenneth Graunke | 2011-04-05 | 1 | -211/+147 |
| | | | | | | | | There's really no need for a prefix on member functions, and overloading takes care of the _op1/_op2 distinction quite nicely. Eric already made a similar change in the i965 FS backend. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Use constructors to convert between src_reg and dst_reg. | Kenneth Graunke | 2011-04-05 | 1 | -51/+66 |
| | | | | | | | | | | | | | Rather than ir_to_mesa_dst_reg_from_src and ir_to_mesa_src_reg_from_dst. The new constructors are marked 'explicit' so that the compiler can catch cases where source and destination registers were accidentally interchanged. This also necessitated using constructors to initialize the undef and address registers, as well as adding a default constructor. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Remove the "ir_to_mesa_" prefix on src_reg/dst_reg types. | Kenneth Graunke | 2011-04-05 | 1 | -121/+121 |
| | | | | | | | | | | Both classes are completely private to ir_to_mesa.cpp, so there won't be any name conflicts with other parts of Mesa. The prefix simply makes it harder to read. Also, use a class rather than typedef structs. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | ir_to_mesa: Rename src_reg and dst_reg variables to src and dst. | Kenneth Graunke | 2011-04-05 | 1 | -104/+101 |
| | | | | | | | This is in preparation from removing the "ir_to_mesa_" prefix on the src_reg and dst_reg types, which would cause a naming conflict. Reviewed-by: Ian Romanick <[email protected]> |