summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: increase max 2D texture / surface size to 4K x 4KBrian Paul2010-04-231-1/+1
|
* llvmpipe: rename MAXWIDTH, MAXHEIGHTBrian Paul2010-04-233-6/+6
|
* llvmpipe: rename lp_tile_size.h to lp_limits.hBrian Paul2010-04-235-7/+10
| | | | Collect the various driver limits in one place since.
* llvmpipe: move LP_MAX_TEXTURE_x_LEVELS, etc to lp_tile_size.hBrian Paul2010-04-233-8/+19
|
* llvmpipe: Remove unused variable.Vinson Lee2010-04-231-2/+0
|
* gallivm: implement indirect addressing over temporariesZack Rusin2010-04-224-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 constantsZack Rusin2010-04-221-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 nameBrian Paul2010-04-221-2/+2
|
* gallivm: remove Z/stencil special case code in lp_build_sample_offset()Brian Paul2010-04-221-46/+8
| | | | Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c
* llvmpipe: Undo zs tiling changes.José Fonseca2010-04-221-0/+4
| | | | | | tile_w/tile_h have different meaning there. This partialy reverts commit ccdc6b5913885866e100780bfd661672c9a5d23c.
* gallium/docs: Unswap PIPE_BIND_SHARED's comment.José Fonseca2010-04-221-3/+4
|
* gallium/docs: many updates to screen.rstBrian Paul2010-04-221-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é Fonseca2010-04-222-4/+4
|
* llvmpipe: Fix rendering to non 32bpp formats.José Fonseca2010-04-223-20/+22
| | | | | Tiled layout always used 32bpp, therefore linear/tiled strides are not related.
* gallivm: update commentsZack Rusin2010-04-221-3/+12
|
* gallivm: fix nested cont statementsZack Rusin2010-04-221-1/+1
|
* gallivm: fix nested break statemantsZack Rusin2010-04-221-2/+3
|
* gallivm: make sure we return the correct type when approximating log'sZack Rusin2010-04-221-1/+3
|
* llvmpipe: Use resource_is_texture() consistently.José Fonseca2010-04-222-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 commentBrian Paul2010-04-221-4/+4
|
* llvmpipe: Fix resource_is_texture.José Fonseca2010-04-221-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é Fonseca2010-04-221-10/+10
|
* llvmpipe: Fix typo in assert.José Fonseca2010-04-221-2/+2
|
* u_format: Reduce code duplication.José Fonseca2010-04-221-118/+97
|
* gallivm: Remove unused variable.Vinson Lee2010-04-221-3/+0
|
* r300g: fix vertex unit setupAlex Deucher2010-04-221-3/+7
| | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* gallium/util: Fix deviation calculation in u_cache.Vinson Lee2010-04-211-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 Lee2010-04-213-2/+126
|
* gallivm: added some assertions in loop-gen codeBrian Paul2010-04-211-1/+6
| | | | We're hitting these assertions with nested loops...
* gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/Brian Paul2010-04-211-1/+1
|
* gallivm: emit_instruction() is booleanBrian Paul2010-04-211-39/+44
|
* llvmpipe: add missing dependency in MakefileBrian Paul2010-04-211-1/+1
|
* gallivm: implement TGSI KILPBrian Paul2010-04-211-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é Fonseca2010-04-211-0/+1
| | | | Prevents the assertion failure.
* r300g: raise the max index for generic varyings to 32Marek Olšák2010-04-211-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 Paul2010-04-211-0/+2
|
* gallium/draw: fix point sprite handlingBrian Paul2010-04-216-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 codeBrian Paul2010-04-211-17/+18
|
* llvmpipe: consolidate texture memory allocation codeBrian Paul2010-04-211-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 enumBrian Paul2010-04-211-1/+1
| | | | Now we can get see 'i' as an enum name instead of a plain integer in gdb.
* targets: Don't check if we should use traceJakob Bornecrantz2010-04-211-3/+2
| | | | | Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument.
* llvmpipe: Remove unused variable.Vinson Lee2010-04-201-3/+1
|
* gallivm: Remove unnecessary headers.Vinson Lee2010-04-202-3/+0
|
* i965g: s/inttypes.h/stdint.h/Vinson Lee2010-04-201-1/+1
| | | | MSVC doesn't have either but Mesa has stdint.h at include/c99.
* i965g: Remove unnecessary header.Vinson Lee2010-04-201-1/+0
|
* llvmpipe: Change return type of declaration to match code.Vinson Lee2010-04-201-1/+1
| | | | | | | | Commit 2142108e0e1cf1ed8d0142e9c41fe1947abe0907 changed the return type of llvmpipe_get_texture_image_address function but didn't change the declaration. Fixes build.
* llvmpipe: code consolidationBrian Paul2010-04-201-55/+18
|
* llvmpipe: remove debug code and simplifyBrian Paul2010-04-201-14/+4
|
* llvmpipe: fix cube face addressing bugBrian Paul2010-04-201-20/+60
| | | | Fixes fd.o bug 27760 (pigit fbo-cubemap).
* llvmpipe: whitespace fixBrian Paul2010-04-201-1/+1
|