Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-05 | gallivm: checkpoint: code gen for mipmap selection | Brian Paul | |
2010-03-05 | gallivm: added methods for getting texture depth, num mipmap levels | Brian Paul | |
2010-03-05 | gallivm: checkpoint: texture LOD computation code gen | Brian Paul | |
2010-03-05 | gallivm: added field for sampler lod | Brian Paul | |
2010-03-05 | gallivm: minor arithmetic improvements | Brian Paul | |
2010-03-05 | gallivm: implement non-normalized texture wrap modes | Brian Paul | |
Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords. | |||
2010-03-04 | gallivm: implement texture border color, plus tweaks to some wrap modes | Brian Paul | |
The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use. | |||
2010-03-04 | gallivm: added texture border_color field | Brian Paul | |
2010-03-04 | gallivm: added question/comment | Brian Paul | |
2010-03-04 | gallivm: comments | Brian Paul | |
2010-03-04 | gallivm: rework and implement more texture wrap modes | Brian Paul | |
All the texture wrap modes are now implemented for linear and nearest sampling. However, texture border color is not yet supported so some wrap modes will produce int coords outside the texture bounds. We'll get garbage values insted of the texture border color for now. | |||
2010-03-04 | gallivm: added lp_build_fract() | Brian Paul | |
2010-03-04 | gallivm: added lp_build_set_sign() | Brian Paul | |
2010-03-04 | gallivm: added lp_build_negate() | Brian Paul | |
2010-03-04 | gallivm: clarify unsigned vs. signed integer type construction | Brian Paul | |
The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type. | |||
2010-03-03 | util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information. | José Fonseca | |
2010-03-03 | gallivm: Centralize initialization. Fix stack alignment issues on Windows. | José Fonseca | |
2010-03-03 | gallivm: Rename lp_bld_misc -> lp_bld_init. | José Fonseca | |
2010-03-02 | Merge branch 'gallium-format-cleanup' | José Fonseca | |
2010-03-02 | llvmpipe: improve based on review from Jose and fix else clauses | Zack Rusin | |
else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition. | |||
2010-03-02 | Merge branch 'gallium-no-rhw-position' | Michal Krol | |
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c | |||
2010-03-02 | util: Tweak comment for D3D10-like formats. | José Fonseca | |
2010-03-02 | util/blitter: Fix the viewport transformation for Z coordinates | Marek Olšák | |
When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is". | |||
2010-03-01 | llvmpipe: implement some control-flow | Zack Rusin | |
implements if/else/endif constructs and lays down the code for looping and others. we create a conditional execution mask which decides which of the four inputs are enabled for any store. it's used only if an execution mask is present, otherwise we go through a direct store. | |||
2010-03-01 | translate: Rename pipe formats. | José Fonseca | |
2010-03-01 | draw: Rename pipe formats. | José Fonseca | |
2010-03-01 | util: Rename pipe formats. | José Fonseca | |
2010-03-01 | util: Remove PIPE_FORMAT_A8B8G8R8_SNORM. | José Fonseca | |
2010-03-01 | util: Generate linear<->sRGB conversion tables. | Michal Krol | |
2010-03-01 | vl: adapt to new vertex element cso interface | Roland Scheidegger | |
2010-03-01 | util: adapt blitter code to new vertex element cso | Roland Scheidegger | |
The interface of util_draw_vertex_buffer looks a bit odd (calling code has to set vertex elements but not vertex buffers) but due to the way cso state handling generally works (can't re-bind original vertex element state easily there) I guess that's ok for now. | |||
2010-03-01 | tgsi: Cleanup exec code for CLAMP, CMP and CND. | Michal Krol | |
2010-03-01 | util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles. | José Fonseca | |
The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which per src/mesa/main/texstore.c interprets it as R8 G8 B8 and not the other way around. | |||
2010-03-01 | util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. | José Fonseca | |
2010-03-01 | util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes. | José Fonseca | |
There is actually no ambiguity in use -- it is always used as R8 G8 B8 | |||
2010-03-01 | util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal. | Michal Krol | |
Not tested. | |||
2010-03-01 | util: Remove inexisting formats. | José Fonseca | |
Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist. | |||
2010-03-01 | util: A few more links for D3D formats. | José Fonseca | |
2010-03-01 | util: A few more todo marks. | José Fonseca | |
2010-03-01 | util: More documentation for u_format.csv | José Fonseca | |
2010-03-01 | util: Tweak comments regarding R8G8B8A8/X8_UNORM. | José Fonseca | |
2010-03-01 | python: Don't mention deprecated drivers=trace option. | José Fonseca | |
Now trace always built. | |||
2010-02-27 | util: Fix X8/A8B8G8R8_SNORM's swizzle. | José Fonseca | |
2010-02-26 | gallium: define GENERATED auxiliary files | Brian Paul | |
Don't need special default dependency on u_format_pack.h anymore. | |||
2010-02-26 | util: Define SRGB's channels as normalized. | José Fonseca | |
A better approximation than uscaled... | |||
2010-02-26 | util: Code generate functions to pack and unpack a single pixel. | José Fonseca | |
Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats. | |||
2010-02-26 | util: Factor some code into u_format_parse.py | José Fonseca | |
2010-02-26 | util: Add util_bswap16. | José Fonseca | |
2010-02-26 | util: Use python names consistent with u_format.h | José Fonseca | |
2010-02-26 | util: Add is_pot() method to formats. | José Fonseca | |