History log of /external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3538d356316b282d6408f710f2df5f06bf315f5 04-Aug-2012 Brian Paul <brianp@vmware.com> llvmpipe: combine vertex/fragment sampler state into an array

This will allow code consolidation in the next patch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
0cbb49aff59f7a671d153d9baa70aa78b07da538 31-Oct-2011 José Fonseca <jfonseca@vmware.com> llvmpipe: Use -1 instead of ~0 for "no slot".

As the value of unsigned ~0 depends on the bit-width.

Fixes fdo 42411.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
546c5ffa11d70631348e5776df7a4168f07600f6 19-Nov-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: twoside for specular color also
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
7f0dc5ea1bb330c6589125baf4017c51a14dce8e 29-Oct-2010 Hui Qi Tay <tayhuiqithq@gmail.com> llvmpipe: Moved draw pipeline twoside function to llvm setup code
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
0072acd447dc6be652e63752e50215c3105322c8 18-Oct-2010 Keith Whitwell <keithw@vmware.com> Merge remote branch 'origin/master' into lp-setup-llvm

Conflicts:
src/gallium/drivers/llvmpipe/lp_setup_coef.c
src/gallium/drivers/llvmpipe/lp_setup_coef.h
src/gallium/drivers/llvmpipe/lp_setup_coef_intrin.c
src/gallium/drivers/llvmpipe/lp_setup_point.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_fs.h
986cb9d5cf60bc11c7facc19017b5432b17240f7 02-Sep-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Use lp_tgsi_info.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
fdcc168a16d59bf2b7fd291383f214834c2546f6 29-Sep-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Decouple sampler view and sampler state updates.

Fixes glean pbo crash.

It would be possible to avoid crashing without decoupling, but given
that state trackers give no guarantee that number of views is consistent,
that would likely cause too many state updates (or miss some).
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
61b7da074e2faebf03d3dfc30e910ee1367bcd5a 24-Sep-2010 Brian Paul <brianp@vmware.com> llvmpipe: make min/max lod and lod bias dynamic state

Before, changing any of these sampler values triggered generation
of new JIT code. Added a new flag for the special case of
min_lod == max_lod which is hit during auto mipmap generation.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
5b4c43d98556c5a4806757513bcb196a724518c5 05-Sep-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: use llvm for attribute interpolant calculation

Basically no change relative to hard-coded version, but this will
be useful for other changes later.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
29ec116e8f21c65250f1083830b82ff59859496d 10-Aug-2010 Hui Qi Tay <hqtay@vmware.com> llvmpipe: point sprites rasterization

Point sprites now done in the rasterizer setup code instead of
going through the draw module.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
57d84d9ca4a645ca326b66ff3b82bee0db18ac97 27-Aug-2010 Hui Qi Tay <hqtay@vmware.com> llvmpipe: native point rasterization

Conflicts:

src/gallium/drivers/llvmpipe/lp_setup_context.h
src/gallium/drivers/llvmpipe/lp_setup_line.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
99c8d9b6dac55263b3f0ddce939173ec9a16cf80 06-Jul-2010 Zack Rusin <zackr@vmware.com> llvmpipe: disconnect vertex texture sampling from the setup

it was wrong to put this in the fs paths, but it was easier to just
stuff it along the fragment texture sampling paths. the patch
disconnects vertex texture sampling and just maps the textures
before the draw itself and unmaps them after.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
01eebfe1b6de2e36dd3af0952fc8329b7073a100 14-Jun-2010 Zack Rusin <zackr@vmware.com> draw: implement vertex texture sampling using llvm
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
a6d9d18faecef9963be3e4b64a21b89889b4670d 28-May-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: hook up basic gs and multiple constant buffer support
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
489f637741da5d3dea2c9eb858a64b15f9af0e3f 01-Jun-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Obey color interpolation.

Don't force color to be linearly interpolated when that's not being
requested.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
6ce68ad3ca242076bbb93fdd99bb448f87a31d15 01-Jun-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Use struct lp_shader_input in the interpolator.

Eliminates all this identical yet slightly different code to decide how
shader inputs should be interpolated.

As bonus, don't interpolate the position twice when it is listed in the
TGSI shader inputs.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
149cb7682e37ce719d693f120e68dde60ba73bdf 01-Jun-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Don't waste time interpolating unused input channels.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
86afe8250edaa2e6129c937a62a695f616c48d70 06-May-2010 Qicheng Christopher Li <chrisl@vmware.com> llvmpipe: implement occlusion query

OpenGL occlusion queries work now. The Mesa demos, glean test and piglit
tests all pass. A few enhancements are possible in the future. -Brian

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
4b148bcf5e6cf08fac31cd10b42ac5f5a5f43cd6 18-Apr-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure the first one is always position.

With this we correctly handle vertex shaders whose output position is not
in index zero.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
eee51147979208feffdf37c588ebbce4df6b40d6 16-Mar-2010 Brian Paul <brianp@vmware.com> llvmpipe: added stencil ref values to jit context state
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
1fb440beb9cccbe6f4bbd309792a89f6e1b4ee3f 10-Dec-2009 michal <michal@transistor.(none)> llvmpipe: Fix after sampler view changes.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
ba5d600c90f7075cf2c33a0c5c679ef822e8746e 17-Jan-2010 José Fonseca <jfonseca@vmware.com> Merge remote branch 'origin/master' into lp-binning

Conflicts:
src/gallium/drivers/llvmpipe/lp_quad.h
src/gallium/drivers/llvmpipe/lp_setup.c
4461442849bfdb817334b38567136f7f9dabdf59 15-Jan-2010 Brian Paul <brianp@vmware.com> llvmpipe: implement scissor testing

The scissor test is implemented as another per-quad operation in
the JIT code. The four scissor box params are passed via the
lp_jit_context. In the JIT code we compare the quad's x/y coords
against the clip bounds and create a new in/out mask that's AND'd
with the main quad mask.

Note: we should also do scissor testing in the triangle setup code
to improve efficiency. That's not done yet.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
a36395d4875f5c416f1b1a6d2ed7f933e40c379c 13-Jan-2010 Brian Paul <brianp@vmware.com> llvmpipe: comments
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
86f450060debebd66dd5fb72f83800d7634efeaa 11-Jan-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: force constant interpolation of flatshade colors

Nice speedup for gears.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
16c1ad54bc5f3dc47a8a17cbc3724d913f5da005 06-Jan-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: remove scissor cliprect derived state

Was previously calculating the intersection of the scissor rectangle
and the framebuffer dimensions. Rendering is already restricted to
framebuffer dimensions by other means, so scissor testing (when
implemented) can just use the scissor state directly.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
080c40ab32b2abd6d8381b4a0cc143d36a1652b2 08-Jan-2010 José Fonseca <jfonseca@vmware.com> Merge remote branch 'origin/master' into lp-binning

Conflicts:
src/gallium/auxiliary/util/u_surface.c
src/gallium/drivers/llvmpipe/Makefile
src/gallium/drivers/llvmpipe/SConscript
src/gallium/drivers/llvmpipe/lp_bld_arit.c
src/gallium/drivers/llvmpipe/lp_bld_flow.c
src/gallium/drivers/llvmpipe/lp_bld_interp.c
src/gallium/drivers/llvmpipe/lp_clear.c
src/gallium/drivers/llvmpipe/lp_context.c
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/llvmpipe/lp_draw_arrays.c
src/gallium/drivers/llvmpipe/lp_jit.c
src/gallium/drivers/llvmpipe/lp_jit.h
src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup_point.c
src/gallium/drivers/llvmpipe/lp_state.h
src/gallium/drivers/llvmpipe/lp_state_blend.c
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c
src/gallium/drivers/llvmpipe/lp_state_surface.c
src/gallium/drivers/llvmpipe/lp_tex_cache.c
src/gallium/drivers/llvmpipe/lp_tex_cache.h
src/gallium/drivers/llvmpipe/lp_tex_sample.h
src/gallium/drivers/llvmpipe/lp_tile_cache.c
12c6b871a3ae4a091d6f768231304f3578a9a9f1 07-Jan-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Remove more loose ends of TGSI exec sampling.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
c9240c4c8f67a06403b29992ab96b9a48f68b01d 06-Jan-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: remove dead code
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
5ce0380a0f585b9e1fb616b749f7fd18a8afada1 06-Jan-2010 Keith Whitwell <keithw@vmware.com> llvmpipe: merge setup and draw vbuf submodules

The setup tiling engine is now plugged directly into the draw module
as a rendering backend.

Removed a couple of layering violations such that the setup code no
longer reaches out into the surrounding llvmpipe state or context.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
b0575151b66c9f5387c0433f41db9c19a848d45e 19-Dec-2009 Zack Rusin <zackr@vmware.com> gs: fix drivers so they work with geometry shaders
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
89d8577fb3036547ef0b47498cc8dc5c77f886e0 14-Dec-2009 Zack Rusin <zackr@vmware.com> gallium: add geometry shader support to gallium
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
c0a13bbae15a471fea278e37b92b874fed1f6b3b 04-Dec-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Port vertex sampler support from softpipe.

Just enough boilerplate code to avoid segfaulting.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
ceb6728725a1eefe35a4d8371b2ff0abe212b5ad 30-Oct-2009 Michal Krol <michal@vmware.com> llvmpipe: Sanitise shader semantic and interpolator handling.

Handle the remaining semantic names and indices.
Respect color interpolator when not flatshading.

Based on Michal's softpipe commit
eb699d64ec7057032139baccedcb0694ca41d706.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
026cf84bbbd939f0ae573a9841bb49aaa1d9ae75 23-Aug-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: remove old prim_setup draw stage

Everything now goes through the draw_vbuf handler, the same as
regular drivers.

Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
b0cd386e777912df115858d90f2eec31811c2d9c 09-Oct-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Tell setup shader inputs.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
d904ed88c1d957f662497343de7dc3e9fa743e47 09-Oct-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Pass state to setup.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
f92787679d668bd1f48929da49d4df55be635fa9 08-Oct-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: More assorted build fixes.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
35a90e67ebc37dc0a8432db76c91b8855a94598a 08-Oct-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Assorted build fixes.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
6b65685def525a8023ee936e82e53af2bc4e38b2 08-Oct-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: remove tex tile cache and related code
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
e529170c11d3cb5812aabeff0a6ee2d7a2ea66f2 08-Oct-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: more wipping
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
89498d01531cd515c769e570bf799c39fbafc8fb 07-Oct-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: import experimental softpipe rasterizer code, wip binning code

WIP, does't build or run.

Rasterizer code is based on Nick Capen's devmaster posts and the
larrabee articles, but currently doesn't share either the performance
or correctness of either...
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
18d0f9a7a38674367eca25e87f67ddf423d8c4f7 17-Sep-2009 Michal Krol <michal@vmware.com> llvmpipe: Respect input interpolators for the shader.

Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
e4c76c02f77ed6e86537b546f4200f8f8132d114 07-Sep-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Code generate the texture sampling inside the shader.

Finally a substantial performance improvement: framerates of apps using
texturing tripled, and furthermore, enabling/disabling texturing only
affects around 15% of the framerate, which means the bottleneck is now
somewhere else.

Generated texture sampling code is not complete though -- we always
sample from the base level -- so final figures will be different.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
c022e15d1e56ba3a9c6b74eef6556d6063e2e322 23-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Pass fragment context to generated function in a single structure.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
4d2b0eb19e432f83845a55d552b5d1d61f040459 23-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Squash the quad pipeline.

It had been reduced to one fixed stage.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
98971802798354cdba45c421cc340ec938143e03 22-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Generate the fragment pipeline into a single function.

Still hackish. Will document and optimize later.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
1e4376a68fae2156018d2e3423df521c6db70013 21-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Back port recent softpipe-opt improvements from Keith.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
9ae47069b4a2b67e381b02d805f1ca74f31ea7b8 19-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Code generate alpha testing and append to generated fragment shader.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
0318f3e53eed88f0feea6e7a4fd8a8d9becc9774 09-Aug-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Split the texture cache from the color/depth/stencil cache.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
05bfd93c3f02d229f5408db1b440425cce99a142 27-Jul-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: move all depth/stencil/alpha pixel processing into one stage
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
b8c437f20f130768e7709eb06112c955619aa2f0 25-Jul-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: fix error in scissor state dependencies
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
0f55a95b2faa16cc008143c53a8b82b19c5d750a 17-Jul-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: make some small steps to flush texture cache less frequently

No performance gain yet, but the code is a bit cleaner.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
3121484a8bde7af053fb627bd716be957fcef18c 16-Jul-2009 Keith Whitwell <keithw@vmware.com> llvmpipe: remove backwards dependency from tilecache to llvmpipe

The tile cache is a utility, it shouldn't know anything about the
entity which is making use of it (ie llvmpipe).

Remove llvmpipe parameter to all the tilecache function calls, and
also remove the need to keep a llvmpipe pointer in the sampler structs.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
c9a5930fe45a0a0299769bd2b672ca516d1bf39e 27-Jul-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Rename preprocessor symbols too.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c
946f432a08112148d743eb9faf6b27bb8cc7fa76 27-Jul-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Fork softpipe for experimentation with llvm.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_derived.c