summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* i965: Fix build after merge of mesa stable branch.Eric Anholt2010-01-251-0/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-2585-184/+22
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul2010-01-241-4/+9
| | | | | | | | | | | | | | | | | | | | Based on a patch by Xavier Chantry <[email protected]>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
| * mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul2010-01-241-3/+3
| | | | | | | | Part of a patch from Xavier Chantry <[email protected]>
| * st/mesa: fix unsigned/signed breakage in scissorXavier Chantry2010-01-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | commit 53174afeeb introduced a portability change that converted GLint x,y to GLuint. That breaks when x and y are negative, which seems to be allowed, and which at least one game uses : teeworlds. Rather than simply reverting the change, it seems possible to convert the 16bit unsigned to GLint so that comparisons are made between signed integers instead. This hopefully does not break anything while keeping MSVC happy. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * r200: Silence fprintf format warning.Vinson Lee2010-01-241-1/+1
| |
| * x86: Do not build read_rgba_span_x86.S on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | | | read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
| * x86: Do not use .hidden pseudo-op on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | The .hidden directive is an unknown pseudo-op on Mac OS X.
| * glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee2010-01-232-2/+2
| | | | | | | | The .type directive is an unknown pseudo-op on Mac OS X.
| * r300: Remove unnecessary headers.Vinson Lee2010-01-2311-39/+0
| |
| * intel: Remove unnecessary headers.Vinson Lee2010-01-2315-32/+0
| |
| * radeon: Remove unused variable.Vinson Lee2010-01-231-1/+0
| |
| * tdfx: Remove unnecessary headers.Vinson Lee2010-01-238-22/+0
| |
| * sis: Remove unnecessary headers.Vinson Lee2010-01-239-16/+0
| |
| * savage: Remove unnecessary headers.Vinson Lee2010-01-236-11/+0
| |
| * mga: Remove unnecessary headers.Vinson Lee2010-01-237-16/+0
| |
| * i965: Remove unnecessary headers.Vinson Lee2010-01-2218-31/+0
| |
| * i915: Remove unnecessary headers.Vinson Lee2010-01-225-13/+0
| |
* | r300: rv350+ support FLT16_2/4 vertex formatsAlex Deucher2010-01-251-1/+1
| |
* | Fix compressed texture loads for non-minimal pitches againLuca Barbieri2010-01-251-2/+4
| | | | | | | | | | | | | | | | My commit eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 does a memcpy of height lines, but that's wrong because the texture has a block layout and we must thus use the number of vertical blocks instead of the height. Signed-off-by: Brian Paul <[email protected]>
* | mesa/es: Improve Makefile rules.Chia-I Wu2010-01-242-18/+20
| | | | | | | | | | | | | | | | | | | | Make sure glapi headers are cleaned when "make clean". Make sure all sources depend on subdirs-stamp-tmp so that sources/headers are generated first. subdirs-stamp-tmp will be removed after a successful build. It might be a problem when a build fails. But it is much better than where we currently are: glapi headers are never cleaned or re-generated.
* | r300: only enable half floats on r500s.Dave Airlie2010-01-231-1/+2
| | | | | | | | Thank to MAD for point it out.
* | Merge branch 'arb_half_float_vertex'Dave Airlie2010-01-2311-2228/+2307
|\ \
| * | r300: half float supportDave Airlie2010-01-233-0/+18
| | | | | | | | | | | | Signed-off-by: Dave Airlie <[email protected]>
| * | i965: add support for ARB_half_float_vertexDave Airlie2010-01-232-0/+12
| | | | | | | | | | | | | | | | | | | | | enables the extension on i965 and adds support to the draw upload for the vertex format. Signed-off-by: Dave Airlie <[email protected]>
| * | mesa: add core support for ARB_half_float_vertex.Dave Airlie2010-01-234-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <[email protected]>
| * | glapi: add GL_HALF_FLOAT enum support.Dave Airlie2010-01-232-2228/+2234
| | | | | | | | | | | | | | | | | | Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <[email protected]>
* | | glapi: Include glheader.h in glapi_nop.c.Chia-I Wu2010-01-231-7/+1
| | | | | | | | | | | | | | | In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
* | | glapi: define GLfixed, GLclampx types for ES 1Brian Paul2010-01-221-0/+7
| | | | | | | | | | | | I'm not 100% sure this is the best fix, but it seems OK.
* | | st/mesa: fix incorrect freeing of drawpixels vertex shadersBrian Paul2010-01-222-3/+5
| | | | | | | | | | | | | | | These shaders are not st_vertex_shaders, but tgsi ureg shaders. Fixes fd.o bug 25959.
* | | mesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()Brian Paul2010-01-221-15/+5
| | |
* | | mesa: use switch in _mesa_DeletePrograms()Brian Paul2010-01-221-7/+8
| | |
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-222-32/+73
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c
| * | mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul2010-01-221-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is faster and ensures that NaN floats get stored properly. Before, NaN values (which might be used with UP2H, UP2US, UP4B and UP4UB) weren't getting stored properly with gcc -O3. This is the second part of the fix for the piglit fp-unpack-01 failure (bug 25973).
| * | mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul2010-01-221-24/+42
| | | | | | | | | | | | | | | | | | | | | The UP2H, UP2US, UP4B and UP4UB instructions interpret the float registers as integers. With gcc -O3 some bits were getting mixed up somewhere. This is part of the fix for the piglit fp-unpack-01 test failure (bug 25973).
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-22104-252/+145
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * | Fix PowerPC related typo in spantmp2.hRuediger Oertel2010-01-221-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Hopf <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * | st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee2010-01-211-1/+0
| | |
| * | mesa: Use pipe_buffer_write_nooverlap where appropriate.José Fonseca2010-01-213-9/+19
| | |
| * | r200: fix CS section size mismatchRoland Scheidegger2010-01-211-1/+2
| | | | | | | | | | | | | | | | | | | | | Partial fix for fdo bug 25544 The tex handling will still need CS drm changes, see bug 25544 for more.
| * | mach64: Remove unnecessary headers.Vinson Lee2010-01-2010-23/+0
| | |
| * | i810: Remove unnecessary headers.Vinson Lee2010-01-207-14/+0
| | |
| * | ffb: Remove unnecessary headers.Vinson Lee2010-01-2011-28/+0
| | |
| * | st/mesa: fix format logic in compatible_src_dst_formats()Brian Paul2010-01-201-12/+44
| | | | | | | | | | | | | | | We need to consider the user-requested formats, not the actual device- chosen formats. See code comments for more details.
| * | st/dri: update dri2 drawables when viewport is changedBen Skeggs2010-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | | Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <[email protected]>
| * | unichrome: Remove unnecessary headers.Vinson Lee2010-01-197-15/+0
| | |
| * | mesa: Remove unnecessary header from attrib.c.Vinson Lee2010-01-181-1/+0
| | |
| * | mesa: Remove unnecessary header from blend.c.Vinson Lee2010-01-181-1/+0
| | |
| * | mesa: Remove unnecessary headers from buffers.c.Vinson Lee2010-01-181-2/+0
| | |
| * | mesa: Remove unnecessary header from convolve.c.Vinson Lee2010-01-181-1/+0
| | |