summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-02gallium: fix a bug in vertex program output mappingBrian Paul1-9/+24
Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors.
2008-07-02gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul1-2/+4
2008-07-02mesa: additional GLSL built-in constantsBrian Paul2-13/+20
2008-07-02mesa: when linking a shader program, make sure all the shaders compiled OKBrian Paul1-0/+8
cherry-picked from master
2008-07-02mesa: added some debug code (disabled)Brian Paul2-0/+9
cherry-picked from master
2008-07-02mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()Brian Paul1-2/+12
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master
2008-07-02mesa: regenerated fileBrian Paul1-152/+163
2008-07-02mesa: added some missing equal() notEqual() intrinsicsBrian Paul1-0/+33
cherry-picked from master
2008-07-02mesa: disable some debug assertionsBrian Paul1-0/+5
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
2008-07-02mesa: regenerated filesBrian Paul2-20/+35
2008-07-02mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul2-1/+39
cherry-picked from master
2008-07-02gallium: replace 128 with MAX_LABELSBrian Paul2-2/+4
2008-07-02mesa: added _mesa_print_swizzle() debugging helperBrian Paul2-0/+16
2008-07-02mesa: fix issues around multisample enableRoland Scheidegger6-4/+22
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
2008-07-02gallium: Allow draw module to work on non-x86 platforms again.Michel Dänzer1-0/+2
2008-07-02pipebuffer: Debug buffer manager to detect buffer under- and overflows.José Fonseca4-1/+309
It should detect both cpu and gpu buffer overflows.
2008-07-02pipebuffer: Verify usage flag consistency. Minor cleanups.José Fonseca8-17/+43
2008-07-01mesa: fix a GLSL vector subscript/writemask bugBrian Paul1-47/+90
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 Paul1-99/+99
cherry-picked from master
2008-07-01mesa: make _slang_swizzle_swizzle() non-privateBrian Paul2-9/+16
cherry-picked from master
2008-07-01mesa: better function inlining in the presence of 'return' statementsBrian Paul1-23/+105
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 Paul1-3/+5
cherry-picked from master
2008-07-01i915: Last reference to surface -> pitchJakob Bornecrantz1-1/+1
2008-07-01gallium: Use the inline keyword on C++.José Fonseca1-1/+3
2008-07-01scons: Output mapfile on windows ddk profile builds.José Fonseca1-0/+4
2008-06-30gles: Don't define GLAPIENTRY here.José Fonseca2-2/+0
2008-06-28mesa: added null ptr checksBrian Paul1-2/+2
2008-06-28s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul1-4/+6
2008-06-28mesa: check FEATURE_point_size_arrayBrian Paul1-0/+2
2008-06-28egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE ↵Brian Paul1-0/+7
attributes
2008-06-28egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertionsBrian Paul1-3/+9
2008-06-28egl: WinCE doesn't have sys/types.hJosé Fonseca1-1/+3
2008-06-27egl: helps if the stride is rightZack Rusin1-1/+3
2008-06-27eh, we need a buildbot... fix the compilationZack Rusin2-6/+4
2008-06-27gallium: handle msaaRoland Scheidegger8-60/+77
2008-06-27egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵Robert Ellison3-2/+3
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-27egl: Windows updates to the platform.h filesJonathan White2-15/+11
2008-06-27i915: Fix the last of the stride/pitch changesJakob Bornecrantz3-12/+12
2008-06-27mesa: Replace void * arithmetic.José Fonseca1-1/+1
2008-06-27gdi: Update for cpp removal.José Fonseca1-3/+5
2008-06-27cell: Update for cpp removal.José Fonseca2-63/+18
Not tested -- just mymic the softpipe changes.
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca34-485/+513
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: Get x86-64<->x86 cross build of assembly files right.José Fonseca1-0/+7
2008-06-27scons: Fix i965/xlib build.José Fonseca2-1/+7
2008-06-27scons: Fix typo.José Fonseca1-1/+1
2008-06-27mesa: Use the appropriate relocation.José Fonseca1-1/+1
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é Fonseca1-0/+56
Chars-per-pixel paradigm is not enough to represent compressed and yuv pixel formats.
2008-06-25mesa: point size arraysBrian Paul11-5/+110
2008-06-24gallium: remove some old dispatch codeBrian Paul1-22/+0
2008-06-24gallium: remove bad assertionBrian Paul1-1/+0