summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-23Merge remote branch 'origin/7.8'Jerome Glisse
2010-04-23r600: don't enable depth test if there is no depth bufferJerome Glisse
If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-04-23Merge branch '7.8'Michel Dänzer
2010-04-23glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.Michel Dänzer
2010-04-23llvmpipe: Remove unused variable.Vinson Lee
2010-04-22i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt
Fixes assertion failure in fbo-generatemipmap-npot.
2010-04-22i965: Fix scissoring when width or height is 0.Eric Anholt
We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
2010-04-22gallivm: implement indirect addressing over temporariesZack Rusin
a bit more involved than indirect addressing over consts, but still fairly reasonable. we allocate an array instead of individual alloca's, and we do it only if the shader does indirect addressing.
2010-04-22gallivm: implement indirect addressing over constantsZack Rusin
implement indirect addressing (ARL and ARR instructions) when used with CONST's. indirect addressing over other vars (temps, inputs, outputs) is not supported yet.
2010-04-22radeon: 9800 SE has only one quadpipeTormod Volden
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22gallium: use better param nameBrian Paul
2010-04-22gallivm: remove Z/stencil special case code in lp_build_sample_offset()Brian Paul
Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c
2010-04-22st/mesa: assert that binding flags are properly set for drawing surfacesBrian Paul
2010-04-22st/mesa: fix binding flags in st_ChooseTextureFormat()Brian Paul
See comment for more info.
2010-04-22progs/tests: asst. improvements to zreaddraw.cBrian Paul
2010-04-22DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes
Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
2010-04-22DRI2: add config query extensionJesse Barnes
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-22llvmpipe: Undo zs tiling changes.José Fonseca
tile_w/tile_h have different meaning there. This partialy reverts commit ccdc6b5913885866e100780bfd661672c9a5d23c.
2010-04-22gallium/docs: Unswap PIPE_BIND_SHARED's comment.José Fonseca
2010-04-22gallium/docs: many updates to screen.rstBrian Paul
Put PIPE_BIND_ and PIPE_TEXTURE_GEOM_ prefixes on token names so that they can be found with grep. This needs to be done in more places. Corrected/improved a lot of information and grammer. I don't know how to properly format everything - someone else can take care of that.
2010-04-22llvmpipe: Portability fixes.José Fonseca
2010-04-22llvmpipe: Fix rendering to non 32bpp formats.José Fonseca
Tiled layout always used 32bpp, therefore linear/tiled strides are not related.
2010-04-22gallivm: update commentsZack Rusin
2010-04-22gallivm: fix nested cont statementsZack Rusin
2010-04-22gallivm: fix nested break statemantsZack Rusin
2010-04-22gallivm: make sure we return the correct type when approximating log'sZack Rusin
2010-04-22llvmpipe: Use resource_is_texture() consistently.José Fonseca
Otherwise slightly difference order causes assertion failures. Also remove mentions of PIPE_BIND_SCANOUT/PIPE_BIND_SHARED. They are not propoer bind flags and will likely be deprecated. If surfaces should be passed to the winsys then they should have the DISPLAY_TARGET flag set, which is a proper bind flag.
2010-04-22gallium: fix comment language, remove dangling commentBrian Paul
2010-04-22st/mesa: consolidate code for finding supported formatsBrian Paul
2010-04-22st/mesa: refactor depth/stencil format selection codeBrian Paul
2010-04-22mesa: sort texel fetch/store table by format indexBrian Paul
2010-04-22Merge branch '7.8'Brian Paul
Conflicts: src/mesa/state_tracker/st_format.c
2010-04-22st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24Brian Paul
2010-04-22mesa: fix conversion errors in signed_rgba8888[rev] texel fetchBrian Paul
Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee.
2010-04-22llvmpipe: Fix resource_is_texture.José Fonseca
It was missing PIPE_BIND_RENDER_TARGET, causing assertion failures for pure render targets. Also bind flags are too variable and complex for a good assessment for whether the resource is a texture or not. Target is more concise.
2010-04-22llvmpipe: Do not advertise S3TC rendering support.José Fonseca
2010-04-22llvmpipe: Fix typo in assert.José Fonseca
2010-04-22u_format: Reduce code duplication.José Fonseca
2010-04-22gallivm: Remove unused variable.Vinson Lee
2010-04-22r300g: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-22r300: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-21gallium/util: Fix deviation calculation in u_cache.Vinson Lee
The approximate deviation calculation was using the entire cache's total instead of each cache entry's total.
2010-04-21gallium/tests: Add test case for u_cache.Vinson Lee
2010-04-21gallivm: added some assertions in loop-gen codeBrian Paul
We're hitting these assertions with nested loops...
2010-04-21progs/demos: Fix the progs/demos/rain help textAaron Plattner
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-21gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/Brian Paul
2010-04-21gallivm: emit_instruction() is booleanBrian Paul
2010-04-21progs/glsl: better commentsBrian Paul
2010-04-21llvmpipe: add missing dependency in MakefileBrian Paul
2010-04-21gallivm: implement TGSI KILPBrian Paul
As in tgsi_exec.c we don't actually rely on condition codes; we do an unconditional kill. The only predication comes from the execution mask which applies inside loops/conditionals.