summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee
2009-12-10Build mesa glsl with make.michal
Still don't know how to add glsl to mesa dependencies.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_PointParameteri.Vinson Lee
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_PointParameterf.Vinson Lee
_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_LightModelf.Vinson Lee
_mesa_LightModelf calls _mesa_LightModelfv, which uses the params argument as an array.
2009-12-09r600 : add pre-compile mesa shader calling interface, in order to handleRichard Li
complex built-in shader instructions.
2009-12-09glsl: Remove unused member x from struct slang_operation.Vinson Lee
2009-12-09mesa: fix baseLevel >= MAX_TEXTURE_LEVELS testBrian Paul
This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS. See bug 25528.
2009-12-09r600: fix state size prediction after dc0777d3Andre Maasikas
2009-12-09meta: Bind texture to unit 0 for mipmap generationIan Romanick
If the active texture unit on entry to mipmap generation is not zero, bind the texture to unit zero. Fixes bug #24219.
2009-12-09mesa: Move OES_read_format support from drivers into the core.Eric Anholt
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.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_LightModeli.Vinson Lee
_mesa_LightModeli calls _mesa_LightModeliv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_Fogf.Vinson Lee
_mesa_Fogf calls _mesa_Fogfv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee
_mesa_TexParameteri calls set_tex_parameteri, which uses the params argument as an array.
2009-12-08i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.Eric Anholt
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_Fogi.Vinson Lee
_mesa_Fogi calls _mesa_Fogfv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee
_mesa_TexParameteri calls set_tex_parameterf, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameterfv.Vinson Lee
_mesa_TexParameterfv calls set_tex_parameteri, which uses the params argument as an array.
2009-12-08vbo: fix array index out of bounds error, and fix evaluator prioritiesBrian Paul
Fixes bug 25525. Plus, the GL_NV_vertex_program evaluators alias and override the convential evaluator maps, so set their state after the conventional maps.
2009-12-08Merge branch 'gallium-strict-aliasing'Roland Scheidegger
2009-12-08gallium: fix more potential strict aliasing issuesRoland Scheidegger
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 3456f9149b3009fcfce80054759d05883d3c4ee5.
2009-12-08r600: and finally fix SCSAndre Maasikas
2009-12-08r600: remove (now) dead codeAndre Maasikas
2009-12-08r600: fix SIN alsoAndre Maasikas
2009-12-08r600: use the new inline constants feature to fix COSAndre Maasikas
2009-12-08r600: add assembler support for literal(inline) constantsAndre Maasikas
and use it in cubemap instruction sequence for testing
2009-12-08r600: merge alu_instruction/alu_instruction2Andre Maasikas
2009-12-08r600: add ABS support for source regs to assemblerAndre Maasikas
use it in tex cube instruction sequence
2009-12-08r600: glsl - allow specifying texture sampler via uniformsAndre Maasikas
looks kinda hackish, should rethink later
2009-12-08r600: implement FRAG_ATTRIB_FACE, glsl/twoside worksAndre Maasikas
2009-12-08r600: quick hack to get KIL_NV working - does condition TR only for nowAndre Maasikas
2009-12-08r600: wip glsl - refactor conditional instructions a bitAndre Maasikas
remember the dst register which is used for cond updates when it's time to use the cond codes issue a separate PRED instruction
2009-12-08r600: execute SET funtions on all channelsAndre Maasikas
seems assemble_LOGIC was meant for non-condition-code instructions so execute in for all components as previously
2009-12-08Merge branch 'mesa_7_7_branch'Andre Maasikas
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
2009-12-08Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas
2009-12-08r600: add support for TXB instructionAndre Maasikas
makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
2009-12-08r600: reorder state for render_target and blendAndre Maasikas
First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
2009-12-07mesa: set version string to 7.7-rc1Ian Romanick
Also modify the Makefile to use the correct version for the tarballs.
2009-12-07Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
2009-12-07Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system ↵Ian Romanick
buffers." This reverts commit 4598942b1b88a2a7d5af7febae7e79eedf00e385. XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it for 7.8 or something.
2009-12-07mesa: set version string to 7.6.1-rc3Ian Romanick
2009-12-07radeon: fix cases when only first image where put directly into miptree.Maciej Cencora
Make sure that minimal width, height and depth of texture image is 1.
2009-12-07radeon: fix image migration for small compressed texturesMaciej Cencora
memcpy would give incorrect results if src rowstride != dst rowstride
2009-12-07mesa: fix shader prog_execute strict aliasing violationsRoland Scheidegger
use unions instead of pointer casts.
2009-12-07gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger
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.
2009-12-07mesa: fix strict aliasing issues in half-to-float/float-to-half conversionsRoland Scheidegger
use union instead of casts
2009-12-07st/mesa: remove debug codeBrian Paul
2009-12-07st/mesa: negate DDY to match GL semanticsBrian Paul
This fixes the regression from commit 884007546c98b1779bf266ec5111b1e7e2b68b2e Fixes bug 25456 (piglit derivs regression).
2009-12-07st/mesa: fix up commentBrian Paul