Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallivm: implement indirect addressing over temporaries | Zack Rusin | 2010-04-22 | 4 | -40/+74 |
| | | | | | | 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. | ||||
* | gallivm: implement indirect addressing over constants | Zack Rusin | 2010-04-22 | 1 | -14/+36 |
| | | | | | | implement indirect addressing (ARL and ARR instructions) when used with CONST's. indirect addressing over other vars (temps, inputs, outputs) is not supported yet. | ||||
* | gallium: use better param name | Brian Paul | 2010-04-22 | 1 | -2/+2 |
| | |||||
* | gallivm: remove Z/stencil special case code in lp_build_sample_offset() | Brian Paul | 2010-04-22 | 1 | -46/+8 |
| | | | | Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c | ||||
* | st/mesa: assert that binding flags are properly set for drawing surfaces | Brian Paul | 2010-04-22 | 1 | -0/+10 |
| | |||||
* | st/mesa: fix binding flags in st_ChooseTextureFormat() | Brian Paul | 2010-04-22 | 1 | -1/+14 |
| | | | | See comment for more info. | ||||
* | progs/tests: asst. improvements to zreaddraw.c | Brian Paul | 2010-04-22 | 1 | -17/+44 |
| | |||||
* | DRI2/GLX: check for vblank_mode in DRI2 GLX code | Jesse Barnes | 2010-04-22 | 2 | -2/+50 |
| | | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control. | ||||
* | DRI2: add config query extension | Jesse Barnes | 2010-04-22 | 9 | -1/+78 |
| | | | | | Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options. | ||||
* | llvmpipe: Undo zs tiling changes. | José Fonseca | 2010-04-22 | 1 | -0/+4 |
| | | | | | | tile_w/tile_h have different meaning there. This partialy reverts commit ccdc6b5913885866e100780bfd661672c9a5d23c. | ||||
* | gallium/docs: Unswap PIPE_BIND_SHARED's comment. | José Fonseca | 2010-04-22 | 1 | -3/+4 |
| | |||||
* | gallium/docs: many updates to screen.rst | Brian Paul | 2010-04-22 | 1 | -61/+93 |
| | | | | | | | | | | 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. | ||||
* | llvmpipe: Portability fixes. | José Fonseca | 2010-04-22 | 2 | -4/+4 |
| | |||||
* | llvmpipe: Fix rendering to non 32bpp formats. | José Fonseca | 2010-04-22 | 3 | -20/+22 |
| | | | | | Tiled layout always used 32bpp, therefore linear/tiled strides are not related. | ||||
* | gallivm: update comments | Zack Rusin | 2010-04-22 | 1 | -3/+12 |
| | |||||
* | gallivm: fix nested cont statements | Zack Rusin | 2010-04-22 | 1 | -1/+1 |
| | |||||
* | gallivm: fix nested break statemants | Zack Rusin | 2010-04-22 | 1 | -2/+3 |
| | |||||
* | gallivm: make sure we return the correct type when approximating log's | Zack Rusin | 2010-04-22 | 1 | -1/+3 |
| | |||||
* | llvmpipe: Use resource_is_texture() consistently. | José Fonseca | 2010-04-22 | 2 | -25/+16 |
| | | | | | | | | | 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. | ||||
* | gallium: fix comment language, remove dangling comment | Brian Paul | 2010-04-22 | 1 | -4/+4 |
| | |||||
* | st/mesa: consolidate code for finding supported formats | Brian Paul | 2010-04-22 | 1 | -92/+57 |
| | |||||
* | st/mesa: refactor depth/stencil format selection code | Brian Paul | 2010-04-22 | 1 | -12/+45 |
| | |||||
* | mesa: sort texel fetch/store table by format index | Brian Paul | 2010-04-22 | 1 | -250/+256 |
| | |||||
* | Merge branch '7.8' | Brian Paul | 2010-04-22 | 4 | -16/+21 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_format.c | ||||
| * | st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24 | Brian Paul | 2010-04-22 | 1 | -0/+4 |
| | | |||||
| * | mesa: fix conversion errors in signed_rgba8888[rev] texel fetch | Brian Paul | 2010-04-22 | 1 | -8/+8 |
| | | | | | | | | | | | | Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee. | ||||
| * | r300: fix vertex unit setup | Alex Deucher | 2010-04-22 | 1 | -7/+8 |
| | | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden. | ||||
| * | progs/demos: Fix the progs/demos/rain help text | Aaron Plattner | 2010-04-21 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | | llvmpipe: Fix resource_is_texture. | José Fonseca | 2010-04-22 | 1 | -8/+12 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | llvmpipe: Do not advertise S3TC rendering support. | José Fonseca | 2010-04-22 | 1 | -10/+10 |
| | | |||||
* | | llvmpipe: Fix typo in assert. | José Fonseca | 2010-04-22 | 1 | -2/+2 |
| | | |||||
* | | u_format: Reduce code duplication. | José Fonseca | 2010-04-22 | 1 | -118/+97 |
| | | |||||
* | | gallivm: Remove unused variable. | Vinson Lee | 2010-04-22 | 1 | -3/+0 |
| | | |||||
* | | r300g: fix vertex unit setup | Alex Deucher | 2010-04-22 | 1 | -3/+7 |
| | | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden. | ||||
* | | gallium/util: Fix deviation calculation in u_cache. | Vinson Lee | 2010-04-21 | 1 | -1/+1 |
| | | | | | | | | | | The approximate deviation calculation was using the entire cache's total instead of each cache entry's total. | ||||
* | | gallium/tests: Add test case for u_cache. | Vinson Lee | 2010-04-21 | 3 | -2/+126 |
| | | |||||
* | | gallivm: added some assertions in loop-gen code | Brian Paul | 2010-04-21 | 1 | -1/+6 |
| | | | | | | | | We're hitting these assertions with nested loops... | ||||
* | | gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/ | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | | |||||
* | | gallivm: emit_instruction() is boolean | Brian Paul | 2010-04-21 | 1 | -39/+44 |
| | | |||||
* | | progs/glsl: better comments | Brian Paul | 2010-04-21 | 1 | -2/+2 |
| | | |||||
* | | llvmpipe: add missing dependency in Makefile | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | | |||||
* | | gallivm: implement TGSI KILP | Brian Paul | 2010-04-21 | 1 | -2/+33 |
| | | | | | | | | | | | | 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. | ||||
* | | draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe). | José Fonseca | 2010-04-21 | 1 | -0/+1 |
| | | | | | | | | Prevents the assertion failure. | ||||
* | | radeon: fix warning | Marek Olšák | 2010-04-21 | 1 | -1/+1 |
| | | |||||
* | | r300g: raise the max index for generic varyings to 32 | Marek Olšák | 2010-04-21 | 1 | -1/+1 |
| | | | | | | | | | | This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15. | ||||
* | | softpipe: call draw_wide_point_sprites() | Brian Paul | 2010-04-21 | 1 | -0/+2 |
| | | |||||
* | | gallium/draw: fix point sprite handling | Brian Paul | 2010-04-21 | 6 | -4/+25 |
| | | | | | | | | | | | | | | | | New draw API function to indicate whether or not to convert points to quads for sprite rasterization. Fix point-to-quad conversion regression in the wide-point stage. We need to check the pipe_rasterizer_state::point_quad_rasterization flag. | ||||
* | | gallium/draw: use local var to simplify code | Brian Paul | 2010-04-21 | 1 | -17/+18 |
| | | |||||
* | | llvmpipe: consolidate texture memory allocation code | Brian Paul | 2010-04-21 | 1 | -11/+48 |
| | | | | | | | | | | And fix incorrect allocation of linear memory for display targets. This fixes fd.o bugs 27761 and 27762. | ||||
* | | st/glx: variable 'i' is an enum | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | | | | | | | | Now we can get see 'i' as an enum name instead of a plain integer in gdb. |