Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-21 | Revert "gallium: add soft screen helper" | George Sapountzis | |
This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905. | |||
2010-03-21 | gallium: add soft screen helper | George Sapountzis | |
2010-03-21 | gallium: cached bufmgr add map busy check | Dave Airlie | |
Suggested by Jose on the list, probably not perfect but will let me get past this for now, testing with a fenced bufmgr on top of this, was slower, Also this doesn't let you do the busy early exit optimisation either from what I can see. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-03-19 | gallivm: simplify and clean-up Z/stencil bit mask/shift code | Brian Paul | |
Refactor the code into two helper functions which compute the bit mask and shift terms for Z and stencil. Plus add a bunch of new comments to explain everything. | |||
2010-03-19 | cso: remove cso_set/save/restore_sampler_textures | Roland Scheidegger | |
no longer used after all statetrackers have been converted. | |||
2010-03-18 | gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code | Brian Paul | |
2010-03-18 | gallivm: fix broken INCR/DECR stencil modes | Brian Paul | |
We were mistakenly using the wrong data type for stencil values before. | |||
2010-03-18 | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through | Brian Paul | |
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two... | |||
2010-03-18 | Add format B5G5R5X1 | Alan Hourihane | |
2010-03-18 | gallivm/llvmpipe: simplify front/back stencil ref value handling | Brian Paul | |
Instead of passing an array, just pass two scalar values. | |||
2010-03-18 | gallivm: checkpoint WIP two-sided stencil test | Brian Paul | |
2010-03-17 | gallivm/llvmpipe: basic stencil testing works | Brian Paul | |
Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found... | |||
2010-03-17 | gallivm: added lp_build_andc() | Brian Paul | |
2010-03-17 | gallivm/llvmpipe: more asst changes for stencil testing | Brian Paul | |
2010-03-17 | gallivm/llmvpipe: pass stencil refs state into z/stencil build code | Brian Paul | |
2010-03-16 | gallium: add target-helpers/wrap_screen.c to C_SOURCES | Brian Paul | |
Was commented out before. | |||
2010-03-16 | gallium: change remaining util functions to use cso sampler views | Roland Scheidegger | |
changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *. | |||
2010-03-16 | Merge commit 'origin/master' into gallium-sampler-view | Keith Whitwell | |
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c | |||
2010-03-15 | gallivm: checkpoint: stencil test code | Brian Paul | |
2010-03-15 | gallivm/llvmpipe: rename some constant building functions | Brian Paul | |
2010-03-15 | gallivm: fix up some #includes | Brian Paul | |
2010-03-15 | gallivm/llvmpipe: rename os_llvm.h to lp_bld.h | Brian Paul | |
The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory. | |||
2010-03-15 | gallivm: fix typo/bug in lp_build_sgn() | Brian Paul | |
We were never returning -1 as a result. This fixes some inverted/flipped faces with cube mapping. | |||
2010-03-15 | cso: Do not hold references to bound textures. | Keith Whitwell | |
Sampler views already hold references to those. | |||
2010-03-15 | gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector() | Brian Paul | |
When min_lod==max_lod we don't need to go through all the work of computing the lod from partial derivatives. This is hit by the mipmap generation utility code. | |||
2010-03-15 | gallivm: asst clean-ups, comments, etc. | Brian Paul | |
2010-03-15 | gallivm: implement minification/magnification selection | Brian Paul | |
Use the LOD value to determine whether to use the minification vs. magnification filter. All mipmap sampling modes work now. | |||
2010-03-15 | gallivm: fix incorrect clamp in lp_build_linear_mip_levels() | Brian Paul | |
2010-03-15 | gallivm: fix incorrect floor(), itrunc() | Brian Paul | |
LLVMBuildFPTrunc() should be used for double->float conversion, not float->int conversion. There should be a better way to compute floor(), ceil(), etc that doesn't involve float->int->float conversion. | |||
2010-03-15 | util: Fix nil pointer reference. | Michal Krol | |
2010-03-15 | gallium: util_blit_pixels() takes source sampler view as argument. | Michal Krol | |
2010-03-15 | Merge commit 'origin/master' into gallium-sampler-view | Keith Whitwell | |
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c | |||
2010-03-13 | llvmpipe: Switch to PIPE_TEX_MIPFILTER_NONE when texture has no mipmaps. | José Fonseca | |
2010-03-13 | Merge commit 'origin/master' into gallium-sampler-view | Keith Whitwell | |
Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c | |||
2010-03-12 | gallivm: cube map sampling works now | Brian Paul | |
2010-03-12 | gallivm: fix bugs in nested if/then/else codegen | Brian Paul | |
Quite a bit a hair pulling was involved... | |||
2010-03-12 | gallivm: support non-vector float in lp_build_sgn() | Brian Paul | |
2010-03-12 | Merge branch '7.8' | Michel Dänzer | |
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-12 | cso: Remove set/save/restore_vertex_sampler_textures(). | Michal Krol | |
2010-03-12 | cso: Add entry points for vertex/fragment sampler views. | Michal Krol | |
2010-03-12 | gallium: fix BGRA vertex color swizzles | Marek Olšák | |
The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-03-12 | Merge commit 'origin/gallium-context-transfers-2' | Keith Whitwell | |
2010-03-11 | gallivm: checkpoint WIP cubemap code | Brian Paul | |
2010-03-11 | gallivm: added lp_build_sum_vector() | Brian Paul | |
2010-03-11 | gallivm: enable 3D texture sampling | Brian Paul | |
2010-03-11 | gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]' | Brian Paul | |
The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels. | |||
2010-03-11 | gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h | Brian Paul | |
2010-03-11 | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | |
2010-03-11 | gallivm: fix some bugs on the 1D texture paths | Brian Paul | |