summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-09-24Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-24mesa: added default case return to silence warningBrian Paul
2009-09-24glsl: init var to silence warningBrian Paul
2009-09-24glsl: fix missing initializers warningBrian Paul
2009-09-24r600 : fix draw_prim bug: vertex fetcher setting.Richard Li
2009-09-24r600 : disable draw_prim for now.Richard Li
2009-09-24r600: add support for CUBE textures, also TXPAndre Maasikas
seems to work here ...
2009-09-24r600: fix typo in the last commitAlex Deucher
128 gprs, 256 reg-based consts
2009-09-24r600: various cleanupsAlex Deucher
- max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-24r600: fix some issues with LIT instructionAndre Maasikas
- MUL_LIT is ALU.Trans instruction - some Trans instructions can take 3 arguments - don't clobber dst.x, use dst.z as temp, it'll get written correct value in last insn - respect source swizzles
2009-09-24r600: fix point sizesAlex Deucher
registers takes radius
2009-09-24r600: fix polygon offsetAlex Deucher
2009-09-24radeon: don't build non-r600 span code on r600Alex Deucher
2009-09-24r600: minor span cleanupsAlex Deucher
2009-09-24r600: support position_invariant programsAndre Maasikas
2009-09-24r600: add span support for 1D tilesAlex Deucher
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-24r600: fix warningAlex Deucher
Noticed by rnoland on IRC.
2009-09-24r600: fix texcoords from constantsAndre Maasikas
with some minor updates from Richard.
2009-09-24r600: enable caching of vertex programsAndre Maasikas
2009-09-24r600: check if textures are actually enabled before submissionAlex Deucher
noticed by taiu on IRC.
2009-09-24r600: fix ftp for dri1Alex Deucher
We use t->bo for dri1 since r600 uses CS for dri1.
2009-09-24r600: don't setup hardware state if TFPDave Airlie
if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
2009-09-24r600: fix dri2 clippingAlex Deucher
2009-09-24mesa: Fix missing finite symbol error on Windows.José Fonseca
Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order.
2009-09-23r600: fix up ordering of functions in draw prims pathAlex Deucher
Shaders and IB need to be updated and allocated before calling validatebuffers.
2009-09-23r300: fallback to software rendering if we are out of free texcoordsMaciej Cencora
Fixes #22741
2009-09-23r600: fix r700PredictRenderSize for draw prims pathAlex Deucher
2009-09-23r600 : add hw index buffer draw support.Richard Li
2009-09-23swrast: add lod bias when texture samplingBrian Paul
Mostly fixes progs/demos/lodbias when MESA_TEX_PROG=1. But the LOD still seems off by -1 or so. May be an issue with the params passed to _swrast_compute_lambda()
2009-09-23mesa: don't bias LOD in shader interpreter; do it in swrastBrian Paul
2009-09-23swrast: fix typo in partial derivatives parameter passingBrian Paul
2009-09-23Finish removing glcoreAdam Jackson
2009-09-23r600: fix copy/paste typoAlex Deucher
2009-09-23r600: fix some warningsAlex Deucher
2009-09-23r600: add support for CUBE textures, also TXPAndre Maasikas
seems to work here ...
2009-09-23st/mesa: trim calculated userbuffer sizeKeith Whitwell
In get_array_bounds we were previously defining a user buffer sized as (nr_vertices * stride). The trouble is that if the vertex data occupies less than stride bytes, the extra tailing (stride - size) bytes may extend outside the memory actually allocated by the app and caused a segfault. To fix this, define a the buffer bounds to be: ptr .. ptr + (nr-1)*stride + element_size
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-22Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-22mesa: don't re-use the meta glDrawPixels VBO; create a new one each timeBrian Paul
This should help to work around bugs 24083 and 23670.
2009-09-22r600 : add draw_prim support, make up one lost change.Richard Li
2009-09-22r600 : add draw_prim support.Richard Li
2009-09-22mesa: fix more buffer object error messagesBrian Paul
2009-09-22mesa: fix error message textBrian Paul
2009-09-22r300: Fix crash reported in bug #24066Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-21vbo: added comment about max array indexBrian Paul
2009-09-21vbo: restore some lost warning outputBrian Paul
2009-09-21vbo: disable the GL_ARB_draw_elements_base_vertex rebase pathBrian Paul
This was introduced with commit 92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf. It causes rendering of stray polygons (with sw rendering at least) when running the OGL Distilled / Picking demo (click on an object). This needs additional debugging to fix/restore. Found one suspect thing: in _tnl_draw_prims() there's some mixed signed/ unsigned arithmetic/comparing at line 422 that may be incorrect.
2009-09-21selinux: Fix mmap() return value checkAdam Jackson
2009-09-21mesa: refine the error checking vbo_exec_DrawRangeElements()Brian Paul
If the 'end' index is out of bounds issue a warning as before. But instead of just no-op'ing the draw call, examine the actual array indices to see if they're OK. If the max array index is out of bounds, issue another warning and no-op the draw call. Otherwise, draw normally. This is a debug build-only feature since it could impact performance. This "fixes" the missing torus in the OGL Distilled / Picking demo.
2009-09-21mesa: make max_buffer_index() a non-static functionBrian Paul