summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-11Build fixes for gcc 2.95mesa_7_2_branchMatthieu Herrb2-5/+5
2009-01-11Fix build with GCC 2.95.Owain G. Ainsworth1-2/+2
2009-01-11Big endian fixes.Matthieu Herrb1-1/+2
2009-01-11build fix on big endian OpenBSD architectures.Matthieu Herrb1-0/+6
2009-01-11replace nearbyint() by rint() for now.Matthieu Herrb1-1/+1
2009-01-11__builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.Matthieu Herrb1-0/+4
Patch suggested by miod@. Thanks.
2008-12-13Fix silly type mismatch error in multinoise demo.Gary Wong1-4/+8
(cherry picked from commit a42342cd90c19d8c29093e91d07d7efab5b5d25a)
2008-12-13i965: Finish OPCODE_NOISEn instructions.Gary Wong1-14/+437
Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD) in the initial RNDD instructions (which avoids saturating negative inputs to 0). (cherry picked from commit d28e8528958b472c821e3b72a28c22f337aba66e)
2008-12-13Add "multinoise" demo, to test 1/2/3/4 dimensional noise.Gary Wong3-0/+279
(cherry picked from commit d427a2910fbb130c1be49667b0133c7605eef7ed)
2008-12-13Ensure p.w is initialised in noise demo.Gary Wong1-0/+1
(cherry picked from commit 0df3dfab82539c2477bfd4d254d1f2c6e35efb57)
2008-12-12intel: check for null texture. (fix #13902)Xiang, Haihao1-2/+2
(cherry picked from commit 8b69c42b356d51c3a37bc0af41738b016c2adc5b)
2008-12-03darwin: Use -Os instead of -O2Jeremy Huddleston1-2/+2
2008-11-28mesa: add missing break statementsBrian Paul1-0/+2
2008-11-26windows: fix visual object memleakThomas Henn1-0/+3
2008-11-26windows: fix _mesa_unreference_framebuffer() to pass ** type.Thomas Henn1-1/+3
2008-11-24docs: recent 7.2.1 bug fixesBrian Paul1-0/+3
2008-11-24windows: replace free() with _mesa_unreference_framebuffer()Brian Paul1-1/+1
Fixes invalid memory reference bug when exiting.
2008-11-11intel: reset cliprect_mode to IGNORE_CLIPRECTS.Xiang, Haihao1-1/+3
This ensures all batchbuffers have a same cliprect mode after calling _intel_batchbuffer_flush even if there aren't invalid commands in the current batch buffer. (fix bug#18362). (cherry picked from commit 09623fe551771031ed02ba7542c94bdbdd83ecec)
2008-11-10mesa: fix logic error in GLSL linker when looking for main() shadersBrian Paul1-5/+10
2008-11-10dri: alloc __DRIscreen object with calloc()Brian Paul1-1/+1
2008-11-06mesa: update the shader programs->TexturesUsed array at link timeBrian Paul3-4/+26
If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation.
2008-11-05i965: Implement missing OPCODE_NOISE3 instruction in fragment shaders.Gary Wong2-10/+335
OPCODE_NOISE4 coming later.
2008-11-05mesa: remove extra \n from printf stringBrian Paul1-1/+1
2008-11-05mesa: fix a GLSL array indexing codegen bugBrian Paul2-8/+101
Expressions like array[i] + array[j] didn't work properly before.
2008-11-04mesa: fix float-valued GLSL vertex attribute variablesBrian Paul1-8/+8
The swizzle mask for such variables wasn't set up properly.
2008-11-03Fix for 58dc8b7: dest regions must not use HorzStride 0 in ExecSize 1Keith Packard1-0/+4
Quoting section 11.3.10, paragraph 10.2 of the 965PRM: 10.2. If ExecSize is 1, dst.HorzStride must not be 0. Note that this is relaxed from rule 10.1.2. Also note that this rule for destination horizontal stride is different from that for source as stated in rule #7. GM45 gets very angry when rule 10.2 is violated. Patch 58dc8b7 (i965: support destination horiz strides in align1 access mode) added support for additional horizontal strides in the ExecSize 1 case, but failed to notice that mesa occasionally re-purposes a register as a temporary destination, even though it was constructed as a repeating source with HorzStride = 0. While, ideally, we should probably fix the code using these register specifications, this patch simply rewrites them to use HorzStride 1 as the pre-58dc8b7 code did. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 72c914805b8b3b37bf8f44d94bc25ca3d146ac66)
2008-11-01mesa: silence warningsBrian Paul1-3/+3
2008-11-01mesa: do scope replacement for while/for loops tooBrian Paul1-3/+7
This fixes a function inlining bug involving vars declared inside loop bodies.
2008-11-01mesa: glsl tree print improvementsBrian Paul1-1/+17
2008-11-01mesa: fix assignment / parameter passing of sampler typesBrian Paul3-4/+29
2008-11-01mesa: additional debug flags for glsl debug/disassemblyBrian Paul4-53/+53
2008-10-31mesa: fix some bugs with precision qualifier parsingBrian Paul9-2382/+2459
2008-10-31mesa: do scope replacement for variable initializers tooBrian Paul1-0/+11
2008-10-31mesa: fix copy/paste error in GLSL error msgBrian Paul1-1/+1
2008-10-31i965: implement the missing OPCODE_NOISE1 and OPCODE_NOISE2 instructions.Gary Wong2-3/+405
(Only in fragment shaders, so far. Support for NOISE3 and NOISE4 to come.)
2008-10-29i965: support destination horiz strides in align1 access mode.Gary Wong2-3/+3
This is required for scatter writes in destination regions to work.
2008-10-29glu: fix compilation problem when using Windows gl.h (sf bug 2204589)Nigel Stewart1-0/+4
2008-10-28mesa: fix stand-alone glslcompiler buildBrian Paul1-6/+2
2008-10-28mesa: include glslcompiler driver in tarballBrian Paul1-0/+1
2008-10-28mesa: include glslcompiler driver in tarballBrian Paul1-0/+2
2008-10-28i965: Allocate temporaries contiguously with other regs in fragment shaders.Gary Wong2-3/+7
This is required for threads to be spawned with correctly sized GRF register blocks.
2008-10-28configure.ac: Add support for gnu/kfreebsdJulien Cristau1-4/+4
Check for *-gnu instead of linux* to set DEFINES. Change some freebsd* checks to *freebsd*. (cherry picked from commit 98fcdf3f49aea14b4dd4f4b83c956f8a117020c9)
2008-10-22mesa: document glTexImage + convolution fixBrian Paul1-0/+1
2008-10-22mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()Brian Paul1-9/+14
Do it after initial error checking, after we know the texture's internal format. Conflicts: src/mesa/main/teximage.c
2008-10-22mesa: some re-org of glCopyTexSubImage1/2/3D() error checkingBrian Paul1-32/+32
Conflicts: src/mesa/main/teximage.c
2008-10-22mesa: in textore.c, only adjust image for convolution if image is a color formatBrian Paul3-14/+20
Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats) Conflicts: src/mesa/main/teximage.c src/mesa/main/teximage.h
2008-10-21i915: fix carsh in i830_emit_state. (bug #17766)Xiang, Haihao1-1/+2
2008-10-16mesa: fix glGetObjectParameter() error codesBrian Paul1-0/+1
2008-10-16mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul1-4/+14
2008-10-15fix a typo in news.htmlBrian Paul1-1/+1