summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-24r300/compiler: Move declaration before code.Vinson Lee
Fixes this GCC warning with linux-x86 build. radeon_pair_regalloc.c: In function ‘compute_live_intervals’: radeon_pair_regalloc.c:222: warning: ISO C90 forbids mixed declarations and code
2010-11-24r300/compiler: Move declaration before code.Vinson Lee
Fixes this GCC warning with linux-x86 build. radeon_pair_regalloc.c: In function ‘compute_live_intervals’: radeon_pair_regalloc.c:221: warning: ISO C90 forbids mixed declarations and code
2010-11-25st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.Chia-I Wu
The typo was introduced by commit 231d5457b275c1d9bbeff14165cf3da33dda176b.
2010-11-25st/vega: No flipping in vg_prepare_blend_surface.Chia-I Wu
The blend sampler view is addressed with unnormalized coordinates in the fragment shader. It should have the same orientation as the surface does.
2010-11-25st/vega: Masks and surfaces should share orientation.Chia-I Wu
The alpha mask is addressed with unnormalized coordinates in the fragment shader. It should have the same orientation as the surface does. This fixes "mask" OpenVG demo.
2010-11-25st/vega: Fix a crash with empty paths.Chia-I Wu
2010-11-25auxiliary: util_blit_pixels_tex should restore the viewport.Chia-I Wu
Viewport state should be saved/restored.
2010-11-25r300g/r600g: bump cache manager timeouts to 1sDave Airlie
On lightsmark on my r500 this drop the bufmgr allocations of the sysprof.
2010-11-24mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.Kenneth Graunke
Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495.
2010-11-24meta: Mask Stencil.Clear against stencilMax in _mesa_meta_ClearPeter Clifton
This fixes incorrect behaviour when the stencil clear value exceeds the size of the stencil buffer, for example, when set with: glClearStencil (~1); /* Set a bit pattern of 111...11111110 */ glClear (GL_STENCIL_BUFFER_BIT); The clear value needs to be masked by the value 2^m - 1, where m is the number of bits in the stencil buffer. Previously, we passed the value masked with 0x7fffffff to _mesa_StencilFuncSeparate which then clamps, NOT masks the value to the range 0 to 2^m - 1. The result would be clearing the stencil buffer to 0xff, rather than 0xfe. Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-24x11: remove test_proxy_teximage() functionBrian Paul
This was really just for testing purposes.
2010-11-24mesa: added _mesa_format_image_size64()Brian Paul
2010-11-24mesa: add assertion and update comment in _mesa_format_image_size()Brian Paul
2010-11-24i965: Don't write mrf assignment for pointsize outputKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=31894
2010-11-24gallium/targets/xorg-vmwgfx: Xv fixesThomas Hellstrom
Make sure regions are properly updated and that the colorkey painting is flushed before we update the HW overlay. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-24st/xorg: Add a function to flush pending rendering and damageThomas Hellstrom
This is needed to properly sync with host side rendering. For example, make sure we flush colorkey painting before updating the overlay. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-24egl_dri2: Fix one context, multiple surfaces.Chia-I Wu
When a context was made current to another surface, the old code did this dri2_dpy->core->bindContext(cctx, ddraw, rdraw); dri2_dpy->core->unbindContext(old_cctx); and there will be no current context due to the second line. unbindContext should be called only when bindContext is not. This fixes a regression since d19afc57. Thanks to Neil Roberts for noticing the issue and creating a test case.
2010-11-23i915: Disallow alpha, red, RG, and sRGB as render targetsIan Romanick
Fixes bugzilla #31832 NOTE: This is a candidate for the 7.9 branch.
2010-11-23glsl: start restoring some geometry shader codeBrian Paul
2010-11-23glsl: better handling of linker failuresBrian Paul
Upon link error, exit translation loop, free program instructions. Check for null pointers in calling code.
2010-11-23mesa: use gl_shader_type enumBrian Paul
2010-11-23mesa: replace #defines with new gl_shader_type enumBrian Paul
2010-11-23mesa: _mesa_valid_register_index() to validate register indexesBrian Paul
2010-11-23mesa: rename, make _mesa_register_file_name() non-staticBrian Paul
Plus remove unused parameter.
2010-11-23glsl: use gl_register_file in a few placesBrian Paul
2010-11-23glsl: fix off by one in register index assertionBrian Paul
2010-11-23gallium/egl: fix r300 vs r600 loadingAlex Deucher
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=31841
2010-11-23i965: Use the new embedded compare in SEL on gen6 for VS MIN and MAX opcodes.Eric Anholt
Cuts the extra CMP instruction that used to precede SEL.
2010-11-23i965: Don't upload line smooth params unless we're line smoothing.Eric Anholt
2010-11-23i965: Don't upload line stipple pattern unless we're stippling.Eric Anholt
2010-11-23i965: Don't upload polygon stipple unless required.Eric Anholt
2010-11-23i965: Move gen4 blend constant color to the gen4 blending file.Eric Anholt
2010-11-23r600g: Removed duplicated call to tgsi_split_literal_constant().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-23r300/compiler: Don't allow presubtract sources to be remapped twiceTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=31193 NOTE: This is a candidate for the 7.9 branch.
2010-11-23r600g: Only compare active vertex elementsMathias Fröhlich
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-22mesa: Clean up header file inclusion in syncobj.h.Vinson Lee
2010-11-22llvmpipe: Remove unnecessary headers.Vinson Lee
2010-11-23mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7Xiang, Haihao
Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <oleksiyk@gmail.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2010-11-22r600c: fix VC flush on cedar and palmAlex Deucher
2010-11-22r600g: add support for ontario APUsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-22r600c: add Ontario Fusion APU supportAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-22r300g: Avoid returning values in a static array, fixing a potential raceMathias Fröhlich
(Marek: added the initializion of "vec" in the default statement) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-11-22r600g: fix some winsys functions to deal properly with evergreenAlex Deucher
Are these functions actually used anywhere?
2010-11-22r600g: fix additional EVENT_WRITE packetAlex Deucher
Add explicit EVENT_TYPE field
2010-11-22st/mesa: set MaxUniformComponentsMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-22swrast: init alpha value to 1.0 in opt_sample_rgb_2d()Brian Paul
2010-11-22gallium: add PIPE_SHADER_CAP_SUBROUTINESMarek Olšák
This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-11-22Merge branch 'lp-offset-twoside'Keith Whitwell
2010-11-22r600g: pick correct color swap for A8 fbos.Dave Airlie
This fixes fdo bug 31810. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-11-21r300/compiler: Add a more efficient version of rc_find_free_temporary()Tom Stellard