- 03 Feb, 2010 1 commit
-
-
Roland Scheidegger authored
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
-
- 12 Jan, 2010 1 commit
-
-
Roland Scheidegger authored
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
-
- 11 Jan, 2010 3 commits
-
-
Chia-I Wu authored
These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by:
Chia-I Wu <olvaffe@gmail.com>
-
Luca Barbieri authored
The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by:
Keith Whitwell <keithw@vmware.com> Tweaks for C90 compilation.
-
Ben Skeggs authored
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by:
Ben Skeggs <bskeggs@redhat.com>
-
- 06 Jan, 2010 1 commit
-
-
Luca Barbieri authored
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
-
- 05 Jan, 2010 3 commits
-
-
Brian Paul authored
A src register's index can be negative if we're doing indirect addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3] This fixes the piglit vp-arl-neg-array.vpfp test. Before this change we were going out of bounds of the t->constants[] array and getting garbage that later triggered an assertion.
-
Brian Paul authored
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
-
Brian Paul authored
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
-
- 04 Jan, 2010 1 commit
-
-
Michel Dänzer authored
This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
-
- 03 Jan, 2010 1 commit
-
-
Jose Fonseca authored
Fixes assertion failures on glean's bufferObject test.
-
- 31 Dec, 2009 2 commits
-
-
Brian Paul authored
-
Brian Paul authored
-
- 30 Dec, 2009 1 commit
-
-
Brian Paul authored
Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
-
- 29 Dec, 2009 1 commit
-
-
Brian Paul authored
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
-
- 27 Dec, 2009 1 commit
-
-
Brian Paul authored
-
- 25 Dec, 2009 1 commit
-
-
Zack Rusin authored
-
- 23 Dec, 2009 1 commit
-
-
Maarten Maathuis authored
- This fixes a crash upon starting spring (a rts engine/game). Signed-off-by:
Maarten Maathuis <madman2003@gmail.com>
-
- 21 Dec, 2009 1 commit
-
-
Younes Manton authored
The assert in util_gen_mipmap() caught it, although it does the right thing anyway.
-
- 19 Dec, 2009 2 commits
-
-
Roland Scheidegger authored
-
Roland Scheidegger authored
-
- 18 Dec, 2009 2 commits
-
-
Roland Scheidegger authored
-
Roland Scheidegger authored
test apps (progs/trivial/tri-edgeflags and similar) seem to work now
-
- 17 Dec, 2009 2 commits
-
-
Michał Król authored
Previously they depended on format blocks, but after removing those they started depending on format encoding.
-
Michał Król authored
-
- 16 Dec, 2009 2 commits
-
-
Roland Scheidegger authored
use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
-
Brian Paul authored
-
- 14 Dec, 2009 1 commit
-
-
Roland Scheidegger authored
fixes, cleanups, etc. not working yet
-
- 13 Dec, 2009 1 commit
-
-
Vinson Lee authored
-
- 09 Dec, 2009 3 commits
-
-
Keith Whitwell authored
The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
-
Michał Król authored
This reverts commit eb926ddf.
-
Eric Anholt authored
The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths.
-
- 08 Dec, 2009 3 commits
-
-
Michał Król authored
We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
-
Roland Scheidegger authored
In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f914.
-
Michał Król authored
Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
-
- 18 Dec, 2009 1 commit
-
-
Keith Whitwell authored
It is possible to have a 1-instruction vertex shader before expanding pos_invarient. Not sure what this assert achieved, but at least move it where it is correct.
-
- 07 Dec, 2009 4 commits
-
-
Roland Scheidegger authored
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
-
Brian Paul authored
-
Brian Paul authored
This fixes the regression from commit 88400754 Fixes bug 25456 (piglit derivs regression).
-
Brian Paul authored
-