summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05fix bug in perspective corrected interpolants for linesgallium-cylindrical-wrapBrian Paul1-2/+1
2010-02-05progs/tests: add line drawing option to cylwrap.cBrian Paul1-10/+34
2010-02-05progs/tests: add x/y rotation to cylwrap.cBrian Paul1-14/+45
2010-02-05st/mesa: remove special-case cyl-wrap codeBrian Paul1-9/+1
Cylinder wrap mode works with perspective interpolation now.
2010-02-05softpipe: Properly implement cylindrical wrapping.Michal Krol1-31/+148
2010-02-05Revert "softpipe: Implement cylindrical wrapping for linear interpolator."Michal Krol1-35/+11
This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381.
2010-02-04progs/tests: new test program for exercising cylindrical tex wrap modeBrian Paul3-0/+206
2010-02-04st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flagBrian Paul2-5/+22
2010-02-04mesa: add back-door support for cylindrical texture wrap modeBrian Paul2-0/+13
If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP flag. The gallium state tracker will look for this flag. This feature is only for testing purposes and may be remove at some point. But if it's useful we could write a GL/Mesa extension to expose it properly.
2010-02-03gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol9-10/+0
2010-02-03docs: Document TGSI Declaration token.Michal Krol1-0/+28
2010-02-03softpipe: Implement cylindrical wrapping for linear interpolator.Michal Krol1-11/+35
2010-02-03tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol2-0/+2
2010-02-03tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol2-52/+94
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-03gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol4-3/+28
2010-02-03tgsi: Remove tgsi_dump_c.[ch].Michal Krol3-512/+0
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-02tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol2-6/+16
2010-02-02vega: implement tgsi_ureg shaders cacheIgor Oliveira1-74/+75
2010-02-02vega: change tgsi asm by tgsi_uregIgor Oliveira1-171/+380
2010-02-02r200: Fix EXT_fogcoord rendering.Pauli Nieminen1-2/+2
The fogcoord calue was not pushed to GPU because of implicit float to int conversion. Fix is to use float pointer to buffer object so no conversion is done in assigment
2010-02-01r300g: Fix funky segfault.Corbin Simpson2-6/+8
2010-02-02st/egl: Wrong context might be used in eglBindTexImage.Chia-I Wu1-9/+11
If the pbuffer surface is current, gctx is set to the current context. Make sure it is set to OpenGL ES 1 context again before binding.
2010-02-02docs: Update for EGL environment variables.Chia-I Wu2-2/+7
Mention that EGL_DRIVER should be a full path, and add a link from envvars.html to egl.html.
2010-02-02progs/es2: Fix an assertion failure in tri.Chia-I Wu1-2/+3
EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks to Mike Stroyan for pointing out this error.
2010-02-01st/mesa: fix texture deallocation bugBrian Paul1-12/+10
This fixes a bug reported by Christoph Bumiller on mesa3d-dev. When a texture is first created as RGBA, then re-defined with glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate the original texture. When this texture was bound as a FBO surface, the depth/Z surface format was RGBA instead of Z. Depending on the driver this led to a failed assertion or FBO validation failure. This patch does three things: 1. Remove ancient code that mysteriously tested if we were replacing the smallest mipmap level and tested if the texture was not a cube map texture. I can't see any reason for those tests. 2. Move the width=height=depth=0 test to after the code which frees texture data. Calling glTexImage with width=height=depth=0 and data=NULL is a way to free a single mipmap level. 3. Update the code comments. There are no apparent conform, glean or piglit regressions from this change. (cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
2010-02-01progs/tests: add another FBO test to exercise a RGBA vs. Z texture bugBrian Paul3-0/+233
See comments in file for more details.
2010-02-01mesa: change _mesa_find_free_register() to find multiple free regsBrian Paul3-29/+62
Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e)
2010-02-01r300g: Inline immediates where possible.Corbin Simpson2-8/+60
Oh look, more gears. Seems to work just fine though.
2010-02-01st/mesa: remove duplicate calculation of fp input mappingKeith Whitwell5-37/+12
This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().
2010-02-01st/mesa: remove dead stfp input_map arrayKeith Whitwell2-12/+0
Was being calculated and not used. Also was probably incorrect...
2010-02-01mesa: added _mesa_print_vp/p_inputs() functions (debug aids)Brian Paul2-0/+47
2010-02-01glslcompiler: add glapi_nop.o to OBJECTSBrian Paul1-0/+1
2010-02-01mesa: Remove unnecessary headers.Vinson Lee3-7/+0
2010-02-01glx: Remove unnecessary headers.Vinson Lee8-12/+0
2010-01-31st/dri: Remove duplicate type qualifier.Vinson Lee1-1/+1
2010-01-31i965g: Add missing va_end.Vinson Lee1-0/+1
2010-01-31r300g: Fix memory leak on memory allocation failure.Vinson Lee1-1/+4
2010-01-31r600: Remove duplicate assignment.Vinson Lee1-1/+1
2010-01-31egl: Remove unnecessary headers.Vinson Lee3-3/+0
2010-02-01nv04: Update to new nouveau_class.hMarcin Koƛcielnicki1-20/+20
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroyMarcin Slusarz3-6/+9
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv10, nv20: Fix build.Francisco Jerez2-2/+2
2010-01-31egl: Clean up surface attributes.Chia-I Wu3-57/+127
Add missing attributes and use correct types in _EGLSurface. Remove ifdef tests that serve no purpose. Update _eglQuerySurface and _eglSurfaceAttrib for missing queries and checks.
2010-01-31egl: Add support for more EGLImage extensions to EGL core.Chia-I Wu4-11/+60
Add support EGL_KHR_vg_parent_image and EGL_KHR_gl_*. This is as simple as adding some flags that can be enabled. Individual drivers need to implement the extensions before enbaling the flags.
2010-01-31st/mesa: Remove unnecessary headers.Vinson Lee3-3/+0
2010-01-31mesa: Remove unnecessary headers.Vinson Lee4-10/+0
2010-01-31i965: Silence uninitialized variable warning.Vinson Lee1-1/+1
2010-01-30r300g: Silence uninitialized variable warning.Vinson Lee1-1/+1
2010-01-31egl: Surface type validaction should depend on extensions supported.Chia-I Wu1-1/+2
EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is supported.
2010-01-31egl: Initialize display configs with the display.Chia-I Wu5-6/+8
This changes _eglInitConfig to take the display as its argument.