summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-07-01mesa: fix a GLSL vector subscript/writemask bugBrian Paul
This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master
2008-07-01mesa: move some functionsBrian Paul
cherry-picked from master
2008-07-01mesa: make _slang_swizzle_swizzle() non-privateBrian Paul
cherry-picked from master
2008-07-01mesa: better function inlining in the presence of 'return' statementsBrian Paul
Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master
2008-07-01mesa: add/fix some IrInfo entries for debugging purposesBrian Paul
cherry-picked from master
2008-07-01i915: Last reference to surface -> pitchJakob Bornecrantz
2008-07-01gallium: Use the inline keyword on C++.José Fonseca
2008-06-28mesa: added null ptr checksBrian Paul
2008-06-28s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul
2008-06-28mesa: check FEATURE_point_size_arrayBrian Paul
2008-06-28egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE ↵Brian Paul
attributes
2008-06-28egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertionsBrian Paul
2008-06-27egl: helps if the stride is rightZack Rusin
2008-06-27eh, we need a buildbot... fix the compilationZack Rusin
2008-06-27gallium: handle msaaRoland Scheidegger
2008-06-27egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵Robert Ellison
work correctly with GLES1 and GLES2. - egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the EGL_OPENGL_BIT in ClientAPIsMask - eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT as well as EGL_OPENGL_ES_BIT. - egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for all softpipe configurations. (Otherwise, an eglChooseConfig() that looks for particular values of EGL_NATIVE_RENDERABLE will fail.)
2008-06-27i915: Fix the last of the stride/pitch changesJakob Bornecrantz
2008-06-27mesa: Replace void * arithmetic.José Fonseca
2008-06-27gdi: Update for cpp removal.José Fonseca
2008-06-27cell: Update for cpp removal.José Fonseca
Not tested -- just mymic the softpipe changes.
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-27scons: Fix i965/xlib build.José Fonseca
2008-06-27mesa: Use the appropriate relocation.José Fonseca
I don't fully understand this, but this matches the assembly code gcc generates glapi.c and fixes following error on x86-64 with assembly: relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object
2008-06-26gallium: Describe pixel block.José Fonseca
Chars-per-pixel paradigm is not enough to represent compressed and yuv pixel formats.
2008-06-25mesa: point size arraysBrian Paul
2008-06-24gallium: remove some old dispatch codeBrian Paul
2008-06-24gallium: remove bad assertionBrian Paul
2008-06-24gallium: Fix whole source being used in u_blitJakob Bornecrantz
2008-06-24i915: Create a texture and surface for shared frontbufferJakob Bornecrantz
2008-06-24i915: Added texture_blanket functionJakob Bornecrantz
2008-06-24i915: Moved screen creation to intel_be_deviceJakob Bornecrantz
2008-06-24gallium: Fix warning in u_blit.hJakob Bornecrantz
2008-06-24egl: Stdint was missing from eglconfigutil.hJakob Bornecrantz
2008-06-24mesa: Fix Windows GDI winsys build.José Fonseca
2008-06-24gallium: Avoid double arithmetic.José Fonseca
2008-06-24mesa: Use standard integer types.José Fonseca
Especially get rid of the non-portable long long.
2008-06-24mesa: Replace deprecated __MSC__ macro.José Fonseca
2008-06-24dri/intel: Use standard integer types.José Fonseca
2008-06-24gallium: Drop deprecated __MSC__ macro.José Fonseca
2008-06-24egl: Use standard integer types.José Fonseca
2008-06-24mesa/dri: User standard integer types.José Fonseca
2008-06-24mesa: More signed/unsigned float/integer fixes.José Fonseca
2008-06-24gdi: Update for surface_alloc_storage changes.José Fonseca
2008-06-24mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca
2008-06-24mesa: Use _mesa_bsearch.José Fonseca
2008-06-24mesa: bsearch implementation for WinCE.José Fonseca
2008-06-24mesa: Replace abort by asserts.José Fonseca
2008-06-24mesa: Move variable declarations to the scope top.José Fonseca
2008-06-23gallium: added support for fixed-point formats, drawingBrian Paul
2008-06-23gallium: code for PIPE_SUBSYSTEM_WINDOWS_USERJonathan White