Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-14 | r300g: fix scons build | Marek Olšák | |
2010-02-13 | softpipe: fix broken cubemap / mipmap selection code | Brian Paul | |
This is a quick-fix for the time being... The per-face mipmap LOD computation was invalid at cube edges. In mip_filter_nearest/linear() we were trying to compute LOD using texcoords that were sometimes indexes into different cube faces. The subtraction used to compute the partial derivatives basically gave random values, so the LOD was unpredictable. This fix simply uses the same cube face for all four pixels in the quad. The per- face texcoords all reference the same cube face so the partial deriviates are computed properly. A more elaborate fix would involve computing the LOD at the same time as we choose the cube faces. But for now, this solution works well and allows the piglit/cubemap test to pass. (cherry picked from commit 1ff9cd5079b095d7050edb8dc6a7e5b8cad36e1e) | |||
2010-02-13 | mesa: Fix compiler warnings | Karl Schultz | |
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | |||
2010-02-13 | mesa: enable GL_ARB_fragment_coord_conventions for sw drivers | Brian Paul | |
This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable. | |||
2010-02-13 | glsl: implement layout qualifiers | Brian Paul | |
For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time. | |||
2010-02-13 | glsl: added type layout field and new type compare func | Brian Paul | |
Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling. | |||
2010-02-13 | mesa: copy frag coord layout fields too | Brian Paul | |
2010-02-13 | glsl/cl: implement parsing for layout qualifiers | Brian Paul | |
For GL_ARB_fragment_coord_conventions support. | |||
2010-02-13 | glsl/pp: fix incorrect extension enable flag for warn mode | Brian Paul | |
2010-02-13 | mesa: Export GL_EXT_texture_cube_map. | José Fonseca | |
Still used by some applications. | |||
2010-02-13 | wgl: Implement wglSwapMultipleBuffers. | José Fonseca | |
2010-02-13 | svga: Fix texture border color. | José Fonseca | |
Also opposite ordering. | |||
2010-02-13 | r300g: do not invalidate texture caches when only sampler state is changed | Marek Olšák | |
2010-02-13 | r300g: cleanup the emission of RS block state | Marek Olšák | |
Emit as few regs as possible. | |||
2010-02-13 | r300g: cleanup the emission of framebuffer state | Marek Olšák | |
Some emits are not needed anymore. | |||
2010-02-13 | r300g: disable independent blend enables | Marek Olšák | |
Not supported by r300. | |||
2010-02-13 | r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx | Marek Olšák | |
2010-02-13 | mesa: s/abort/sys.exit/ | Vinson Lee | |
Python does not have the function abort. | |||
2010-02-12 | mesa: Remove unnecessary header. | Vinson Lee | |
2010-02-12 | i965: Remove unnecessary headers. | Vinson Lee | |
2010-02-12 | st/xlib: Remove unnecessary header. | Vinson Lee | |
2010-02-12 | dri: Remove unnecessary headers. | Vinson Lee | |
2010-02-12 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-02-12 | svga: Silence uninitialized variable warning. | Vinson Lee | |
2010-02-12 | util: Properly init memory for blitter CSOs. | Corbin Simpson | |
Fixes misrender on r300g. | |||
2010-02-12 | st/mesa: restore draw rasterization stage after rasterpos | Brian Paul | |
This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1) | |||
2010-02-12 | svga: A few more tweaks to blend color state emission. | José Fonseca | |
2010-02-12 | svga: Clamp max cube texture levels to supported max 2d levels. | José Fonseca | |
2010-02-12 | svga: Report the 2d/3d texture sizes supported by the host. | José Fonseca | |
2010-02-12 | wgl: Go into dormant state when DLL is unloaded unclealy. | José Fonseca | |
When our DLL is unloaded, even if we leave the data structures in memory for sake of future calls, the MS CRT will destroy the heap. Instead we make all calls no-ops by setting stw_dev to NULL. | |||
2010-02-12 | st/mesa: improved draw_range_elements code | Brian Paul | |
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1. | |||
2010-02-12 | st/mesa: rename state -> tgsi, updated comments | Brian Paul | |
2010-02-12 | st/mesa: remove unused var | Brian Paul | |
2010-02-12 | intel: Remove unused variable. | Vinson Lee | |
2010-02-12 | cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query | Brian Paul | |
2010-02-12 | intel: Avoid dri_bo_flink() in intel_update_renderbuffers() | Kristian Høgsberg | |
Now that we track the global name in struct intel_region, we can just look it up there. | |||
2010-02-12 | intel: Track named regions and make sure we only have one region per named bo | Kristian Høgsberg | |
2010-02-12 | dri: Store the loader private passed in at dri context creation | Kristian Høgsberg | |
We just threw it away before, but we haven't had a use for it yet. | |||
2010-02-12 | st/dri: don't expose visuals we'll have trouble supporting | Zack Rusin | |
without getBuffersWithFormat some visuals will just cause headaches (crashes), so if we're running on an older system simply don't advertise them. | |||
2010-02-12 | st/dri, st/xorg: fix buffers that have attachements of different depth | Zack Rusin | |
we actually need to specify the formats for different attachements, otherwise if the color buffer is 24bpp and the app asks for 16bpp depth buffer than we end up fetching the depth from the drawable which is 24bpp and end up creating the wrong depth buffer. use the new getBuffersWithFormat extension to pass the depth correctly. | |||
2010-02-12 | svga: enable code to emit blend color | Roland Scheidegger | |
2010-02-12 | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | |
2010-02-12 | Revert "r600c: substract vbo offset to vbo size" | Jerome Glisse | |
This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things | |||
2010-02-12 | nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has ↵ | Patrice Mandin | |
16 texture units Signed-off-by: Patrice Mandin <patmandin@gmail.com> | |||
2010-02-12 | cell: adjust structure padding | Brian Paul | |
The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes. | |||
2010-02-12 | cell: remove unused var | Brian Paul | |
2010-02-12 | cell: include cell_context.h | Brian Paul | |
2010-02-12 | cell: re-fix undeclared var | Brian Paul | |
2010-02-12 | cell: declare stencil_value variable | Brian Paul | |
2010-02-12 | r600c: substract vbo offset to vbo size | Jerome Glisse | |
To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size. |