summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600g: Remove r600_helper.c from SConscript.Vinson Lee2011-04-241-1/+0
| | | | This is a follow-up to commit d737857ed2ff4313fd6046dcd80018c6308a53c5.
* docs: update GL3 statusMarek Olšák2011-04-251-4/+4
|
* r600g: remove some pointless and unused functionsMarek Olšák2011-04-253-21/+3
|
* r600g: do not reset device to 0 when doing unrelated operationsMarek Olšák2011-04-251-2/+0
| | | | Seems to be a copy-paste bug.
* r600g: trivially implement LATC/3DCMarek Olšák2011-04-251-0/+4
| | | | Passes fbo-generatemipmap-formats.
* r600g: drop r600_helper.c no point in itDave Airlie2011-04-254-73/+39
| | | | | | move the one function into state common Signed-off-by: Dave Airlie <[email protected]>
* r600g: enable EXT_draw_buffers2Dave Airlie2011-04-251-5/+1
| | | | | | | Doesn't cause any piglit regression and passes the fbo-draw-buffers-blend test. Signed-off-by: Dave Airlie <[email protected]>
* st/mesa: fix regression since a22aba4eae9b29db731487bce90e8292f7e82c72Dave Airlie2011-04-251-2/+2
| | | | | | | | | | "st/mesa: check image size before copy_image_data_to_texture()" caused a regression in piglit fbo-generatemipmap-formats test on all gallium drivers. Level 0 for NPOT textures will not match minified values, so don't do this check for level 0. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix glean clipflat test.Dave Airlie2011-04-242-3/+8
| | | | | | | | the provoking vertex doesn't apply to quad/strip/polygon. This fixes clipFlat on r600g. Signed-off-by: Dave Airlie <[email protected]>
* r300g: reorder capsMarek Olšák2011-04-241-13/+11
|
* r300g: fix exposing caps on r300-r400Marek Olšák2011-04-241-2/+2
| | | | Broken with 72239d16cd08113e994ea3508f91193c682b0930.
* glsl: Fix typos in comments.Bryan Cain2011-04-231-6/+6
|
* r600g: fix glsl-fs-abs-negDave Airlie2011-04-241-0/+2
| | | | | | the hw does neg after abs, so don't neg the source in the ABS instruction case. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix bank swizzle calcs for scalar only operations.Dave Airlie2011-04-241-15/+25
| | | | | | | | | | | | In the initial code if we had nothing in the vector slots r would never get reset to 0, so we'd fail to compile shaders, after the previous commit this would happen for the LIT tests. When I fixed that we did a lot of unnecessary loops through all the vector states when we had no vector slots filled. So this patch optimises thing for the scalar only state. This fixes the 3 LIT piglit tests on r600g. Signed-off-by: Dave Airlie <[email protected]>
* r600g: PV/PS have cycle restrictions in scalar operationsDave Airlie2011-04-241-2/+6
| | | | | | | | | | In the R600 ISA document: Section 4.7.5 Cycle restrictions for the ALU.trans states that PV/PS have cycle restrictions wrt constants. This is part of a fix for the LIT tests Signed-off-by: Dave Airlie <[email protected]>
* mesa: Add some comments about FRAG_RESULT_COLOR vs FRAG_RESULT_DATAn.Eric Anholt2011-04-231-0/+8
| | | | | This came from reading what swrast does, and 965 now behaves the same and gallium appears to as well.
* mesa: Fix fragment.color (no index) writes with OPTION ARB_draw_buffers.Eric Anholt2011-04-231-3/+8
| | | | | | | | | Fixes a bug in Trine where fragment.color would write FRAG_RESULT_COLOR (which is interpreted by drivers as being the "write this to all color buffers" option) instead of FRAG_RESULT_DATA0 (just the first target). Fixes piglit ATI_draw_buffers/arbfp-no-index.
* i965: Don't double-emit fragment.color writes for MRT with ARB_fp.Eric Anholt2011-04-232-35/+19
|
* i965: Fill in the remaining fields of gen5+ sampler default color.Eric Anholt2011-04-231-4/+14
| | | | Still doesn't fix texwrap.
* i965: Fix batch decode for the gen5+ sampler default color.Eric Anholt2011-04-231-6/+24
|
* intel: Add support for ARB_sampler_objects.Eric Anholt2011-04-2313-80/+99
| | | | | | | | | | | | This extension support consists of replacing "gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->". One instance of referencing the texture's base sampler remains in the initial miptree allocation, where I'm not sure we have a clear association with any texture unit. Tested with piglit ARB_sampler_objects/sampler-objects. Reviewed-by: Brian Paul <[email protected]>
* i965: Add support for NV_conditional_render.Eric Anholt2011-04-237-1/+19
| | | | | | | | Since we lack hardware support for it, this is a simple matter of checking _mesa_check_conditional_render at the entrypoints, and suppressing it for the metaops where it doesn't apply. Reviewed-by: Brian Paul <[email protected]>
* swrast: Disable glAccum drawing during conditional rendering.Eric Anholt2011-04-231-0/+4
|
* meta: Don't do conditional rendering on GenerateMipmaps and BlitFramebuffer.Eric Anholt2011-04-231-1/+24
| | | | | | | | | The NV_conditional_render spec calls out specific operations that conditional rendering applies to, which doesn't include these. Fixes NV_conditional_render/generatemipmap on swrast. Reviewed-by: Brian Paul <[email protected]>
* i965: Add support for ARB_texture_compression_rgtc.Eric Anholt2011-04-234-2/+13
| | | | | | | | Tested with rgtc-teximage-0[12]. EXT_texture_compression_rgtc/fbo-generatemipmap-formats fails in NPOT just like S3TC does. Reviewed-by: Brian Paul <[email protected]>
* mesa: Don't assert on the compressed convertformat for GenerateMipmaps.Eric Anholt2011-04-231-1/+0
| | | | | | | | | | | | | | This assertion doesn't make any sense to me -- the convertFormat is already something valid (tested above), and the BaseFormat dictated by convertFormat doesn't matter to the function about to be called (it's the datatype/comps that were pulled out of convertFormat). Fixes assertion failure in GL_EXT_texture_compression_rgtc/fbo-generatemipmap-formats (still has a rendering failure in NPOT like S3TC does). Reviewed-by: Brian Paul <[email protected]>
* mesa: Choose RGTC formats for GL_COMPRESSED_RED, GL_COMPRESSED_RG.Eric Anholt2011-04-231-0/+8
| | | | | | | | | We were falling through to the default R8 and RG88 formats instead of compressing when possible. Noticed by swrast fbo-blending-formats actually doing rendering. Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa/gdi: Address compiler warnings.José Fonseca2011-04-232-136/+131
| | | | In particular the function prototypes.
* mesa/gdi: Remove InitCritSections.cpp.José Fonseca2011-04-231-33/+0
| | | | | We are now able to declare global critical sections through other mechanisms so this is useless code.
* Drop fx windows driver.José Fonseca2011-04-233-2299/+0
| | | | Irrelevant now that glide driver was removed.
* glu: Fix linux buildJakob Bornecrantz2011-04-231-1/+1
|
* glu: Clone the enviromentJakob Bornecrantz2011-04-231-0/+2
|
* docs: Remove MSVS project files.José Fonseca2011-04-2322-9091/+9
| | | | | | | They were totally broken for several releases. scons now builds everything the project files built and more, and can be kept up-to-date with little effort.
* scons: Build glu.José Fonseca2011-04-234-2/+143
|
* scons: Build classic mesa gdi driver.José Fonseca2011-04-236-115/+52
| | | | | | Build as scons platform=windows mesagdi
* osmesa: Fix Mingw build.José Fonseca2011-04-231-16/+1
| | | | | | Build as scons platform=windows osmesa
* scons: Build osmesa.José Fonseca2011-04-233-0/+108
| | | | | | Just type scons osmesa
* mapi/glapi: Avoid warnings about visibility being unsupported on MinGW.José Fonseca2011-04-232-2/+2
|
* mesa/vf: Remove.José Fonseca2011-04-235-2257/+0
| | | | Unused. Probably replaced by translate module.
* graw: Replace dead symlinks to delete python statetracker shaders with their ↵José Fonseca2011-04-2364-2/+818
| | | | contents.
* draw: fix point/line/tri flushing bug in vbuf codeBrian Paul2011-04-221-4/+10
| | | | | | | | Need to reset the point/line/tri functions to point to the "first" versions whenever we flush vertices. Fixes unfilled polygon rendering errors seen in demos/samples/logo.c. See comments for more info. NOTE: This is a candidate for the 7.10 branch.
* r300g: do not advertise color_buffer_float on r300 and r400Marek Olšák2011-04-221-1/+1
| | | | It seems they can't do unclamped vertex colors. Tested on RV350.
* r300/compiler: fix up error messageMarek Olšák2011-04-221-2/+2
|
* egl/wayland: Follow buffer.attach removalBenjamin Franzke2011-04-221-1/+0
|
* egl/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-223-4/+6
|
* configure.ac: fix up the help text for --enable-gallium-r300Marek Olšák2011-04-221-1/+1
|
* r300g: disallow A16F,L16F,LA16F,I16F texture formats on DRM<2.8.0Marek Olšák2011-04-221-4/+9
|
* st/egl: Update to wayland protocol,egl changesBenjamin Franzke2011-04-222-27/+92
|
* egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke2011-04-222-12/+23
| | | | Needed since wayland-egl doesnt do this anymore.
* egl/wayland: Add new version parameter for post_drmBenjamin Franzke2011-04-221-1/+3
|