History log of /external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1188d4464c78bfa0cd114d9331de8fba70724ac 19-Oct-2012 Brian Paul <brianp@vmware.com> st/mesa: free TGSI tokens with ureg_free_tokens()

since they're allocated by ureg_get_tokens().

NOTE: This is a candidate for the 8.0 and 9.0 branches.

(cherry picked from commit 11070105f0b5ad20f12bb40a8dd0b357924bcfdd)
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
fb8d6b41d89c6221c8477eab229ecf0750c2c4e0 19-Oct-2012 Brian Paul <brianp@vmware.com> st/mesa: replace REALLOC() with realloc()

We should use the later since we're freeing the memory with free(),
not the gallium FREE() macro.

This fixes a mismatch when using the gallium debug memory functions.

NOTE: This is a candidate for the 9.0 branch.
(cherry picked from commit bb93439873e0f270383d8a802eec79807d32c10a)
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3f6ce3454f4d1331234f74670c82595f84269b1b 31-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: s/CALLOC/calloc/ to fix allocation bug

The CALLOC() macro only takes one argument so this was being treated
as a comma expression. Simply use calloc() instead.

A follow-on patch will replace all CALLOC() calls with calloc().

NOTE: This is a candidate for the 8.0 and 9.0 branches.
(cherry picked from commit 43ed822a50db6b980041ddf91c16c7f8fccc4092)
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
350f12fb657a2ac860796c179233fa357e4bf46c 02-Aug-2012 Vinson Lee <vlee@freedesktop.org> st/mesa: Ensure dst in compile_instruction is initialized.

Fixes uninitialized scalar variable defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b3ba0a7afa6311e12852fb1373452e480f89ea96 12-Jul-2012 José Fonseca <jfonseca@vmware.com> mesa/st: Generates TGSI that always recognizes INSTANCEID/VERTEXID as integers.

Tested by running piglit draw-instanced, and by forcing llvmpipe advertise no native
integer support, which now produces:

VERT
DCL IN[0]
DCL SV[0], INSTANCEID
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL CONST[0..19]
DCL TEMP[0], LOCAL
DCL TEMP[1], LOCAL
DCL TEMP[2], LOCAL
DCL ADDR[0]
0: U2F TEMP[0].x, SV[0]
1: ARL ADDR[0].x, TEMP[0].xxxx
2: MOV TEMP[1].xy, CONST[ADDR[0].x+8].xyxx
3: ADD TEMP[2].x, IN[0].xxxx, TEMP[1].xxxx
4: ADD TEMP[1].x, IN[0].yyyy, TEMP[1].yyyy
5: MUL TEMP[2], CONST[16], TEMP[2].xxxx
6: MAD TEMP[2], CONST[17], TEMP[1].xxxx, TEMP[2]
7: MAD TEMP[2], CONST[18], IN[0].zzzz, TEMP[2]
8: MAD TEMP[2], CONST[19], IN[0].wwww, TEMP[2]
9: ARL ADDR[0].x, TEMP[0].xxxx
10: MOV TEMP[1], CONST[ADDR[0].x]
11: MOV OUT[0], TEMP[2]
12: MOV OUT[1], TEMP[1]
13: END
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
177845daa150403311e51e3bdc27e5014d40e915 27-Jan-2012 Marek Olšák <maraeo@gmail.com> st/mesa: kill off point size clamping in vertex shaders

This fixes the gl_PointSize transform feedback test.
Point size clamping should happen at the rasterizer stage,
i.e. after the vertex and geometry shaders and transform feedback.

Drivers are expected to do this by themselves.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc 23-Jan-2012 Marek Olšák <maraeo@gmail.com> st/mesa: do vertex and fragment color clamping in shaders

For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
the perfect place for a fallback.
The exceptions are:
- r500 (vertex clamp only)
- nv50 (both)
- nvc0 (both)
- softpipe (both)

We also have to take into account that r300 can do CLAMPED vertex colors only,
while r600 can do UNCLAMPED vertex colors only. The difference can be expressed
with the two new CAPs.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3f80b69b5f2093ffc624bb901ce34f0e289bc25d 11-Jan-2012 Dave Airlie <airlied@redhat.com> st/mesa: rename translate_texture_target, and make translate_opcode static.

As suggested by Brian.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2f275466f78b7268e4f7ae8890eafd4243a2b8b0 11-Jan-2012 Dave Airlie <airlied@redhat.com> glsl_to_tgsi: add support for shadow cube map sampling.

This along with the TGSI support lets the piglit sampler-cube-shadow
test pass on softpipe.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
da1544b39ebdf9b24414dcee214a5ccf76e74a77 11-Nov-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> st/mesa: fix system value to semantic mapping

Broken by addition of SYSTEM_VALUE_VERTEX_ID in
919c53e87a1f6f5322bc1f1486bb3e6b954b00d5.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8cd0873d319cefce74164147c9855e81f051d1e1 22-Oct-2011 Chia-I Wu <olv@lunarg.com> st/mesa: add support for GL_OES_EGL_image_external

To pipe drivers, external textures are just 2D textures.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
19ff7666f3ab58b91cf39bc5ec23d1d0b3d230ba 05-Sep-2011 Marek Olšák <maraeo@gmail.com> st/mesa: convert shadow array samplers to TGSI
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2083a276eb270b748d1c2668eb9faa5aadc8e700 26-Aug-2011 Dave Airlie <airlied@redhat.com> tgsi: add support for texture offsets to the TGSI IR. (v2)

This adds tokens for texture offsets, to store 4 * swizzled vec 3
for use in TXF and other opcodes.

It also contains TGSI exec changes for softpipe to use this code,
along with GLSL->TGSI support for TXF.

v2: add some more comments, add back padding I removed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b30bbd7436bdb9727d3766ba9c07abd610e6dda8 15-Jun-2011 Bryan Cain <bryancain3@gmail.com> glsl_to_tgsi: silence compiler warning
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f379d8f73063a4c4d6cf379318c6b37118d46bfa 26-Apr-2011 Bryan Cain <bryancain3@gmail.com> st/mesa: Add a GLSL IR to TGSI translator.

It is still a work in progress at this point, but it produces working and
reasonably well-optimized code.

Originally based on ir_to_mesa and st_mesa_to_tgsi, but does not directly use
Mesa IR instructions in TGSI generation, instead generating TGSI from the
intermediate class glsl_to_tgsi_instruction. It also has new optimization
passes to replace _mesa_optimize_program.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f986a6560f3ee9a79b89e9409e3a9ac52b53315c 03-May-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> mesa,st/mesa: fix WPOS adjustment

Tested-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8e17adfdbd96ba1a11cda329ddfd2b997255ea20 25-Feb-2011 Jerome Glisse <jglisse@redhat.com> gallium/st: place value check before value is use

7.9 & 7.10 candidate

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
9b56a2cb626b254bcb7b7202e6babd1b5570208f 26-Jan-2011 Brian Paul <brianp@vmware.com> st/mesa: support for 1D/2D texture arrays
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
23490d7a8bb77cc0a39ffe7c1ce83ce8e9e9c5bb 25-Jan-2011 Brian Paul <brianp@vmware.com> st/mesa: add comments in emit_wpos()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
bb56631f0cb6b3fc552a72e0165816909bf6fdc9 25-Jan-2011 Brian Paul <brianp@vmware.com> st/mesa: fix incorrect fragcoord.x translation

emit_adjusted_wpos() needs separate x,y translation values. If we
invert Y, we don't want to effect X.

Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795

NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
652901e95b4ed406293d0e1fabee857c054119b1 15-Jan-2011 Brian Paul <brianp@vmware.com> Merge branch 'draw-instanced'

Conflicts:
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/glsl/ir_set_program_inouts.cpp
src/mesa/tnl/t_vb_program.c
2b5e1e5287df5cae218b6f83d2638853d250aff9 09-Dec-2010 Brian Paul <brianp@vmware.com> st/mesa: translate shader system inputs
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
d531f9c2f5c78468d913fc509b223760ac1c1124 02-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium

gl_FragCoord.y needs to be flipped upside down if a FBO is bound.

This fixes:
- piglit/fbo-fragcoord
- https://bugs.freedesktop.org/show_bug.cgi?id=29420

Here I add a new program state STATE_FB_WPOS_Y_TRANSFORM, which is set based
on whether a FBO is bound. The state contains a pair of transformations.
It can be either (XY=identity, ZW=transformY) if a FBO is bound,
or (XY=transformY, ZW=identity) otherwise, where identity = (1, 0),
transformY = (-1, height-1).

A classic driver (or st/mesa) may, based on some other state, choose whether
to use XY or ZW, thus negate the conditional "if (is a FBO bound) ...".
The reason for this is that a Gallium driver is allowed to only support WPOS
relative to either the lower left or the upper left corner, so we must flip
the Y axis accordingly again. (the "invert" parameter in emit_wpos_inversion)

NOTE: This is a candidate for the 7.9 branch.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ef8bb7ada98f1ddc8e2554a7336af5d669cb1290 06-Oct-2010 Dave Airlie <airlied@redhat.com> st/mesa: use shader stencil export to accelerate shader drawpixels.

If the pipe driver has shader stencil export we can accelerate DrawPixels
using it. It tries to pick an S8 texture and works its way to X24S8 and S8X24
if that isn't supported.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2dfd348e33f0152e3ab693ec3b53911331f5c349 28-Aug-2010 Vinson Lee <vlee@vmware.com> st/mesa: Include missing header in st_mesa_to_tgsi.c.

Include p_screen.h for complete type to pipe_screen.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
9846b0627149e221c9fbd7c3379e33fb68e68511 01-Aug-2010 Vinson Lee <vlee@vmware.com> mesa: Remove inclusion of compiler.h from mtypes.h.

mtypes.h does not use any symbols from compiler.h.

Also add the required headers for files that depended on symbols from
compiler.h but were indirectly including compiler.h through mtypes.h.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b3e3d0da586812c61f7bd3933a9a3c2511b8d55b 30-Jul-2010 Brian Paul <brianp@vmware.com> st/mesa: better handling of indirect addressing of temp/const register files

With gl_program::IndirectRegisterFiles we can distinguish between indirect
addressing of constants vs. temporaries. In the case of temporaries,
declare all temps up front sequentially.

Fixes fd.o bug 29305.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a2eb8bdcc7bf64285ff75243b6ea7a06bff97cdd 23-Jul-2010 Brian Paul <brianp@vmware.com> st/mesa: get rid of unneeded ureg_writemask()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e393350904a48d332d832881af9549400194608c 23-Jul-2010 Brian Paul <brianp@vmware.com> st/mesa: fix bug in emit_adjusted_wpos()

If we bias x,y we still need to pass through z,w in case the shader
reads gl_FragCoord.z or .w.

Fixes fd.o bug 29183 (piglit glsl-bug-22603).

NOTE: This is a candidate for the 7.8 branch.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
1491c6aa2de17760ab157a3fe71e45006e4eecf6 14-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: add comments and change Index2D to just Index2
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
425870c5fdb40f7daf2e25323fa28c90c4367bae 10-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: get the translation from mesa 2d regs to tgsi working

first working version of arb_geometry_shader4
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b4855288e4de9001b4107d3d4c2f7aff4a4680f9 10-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: add basic support for 2D register arrays to mesa

just like in Gallium it's a basic functionality needed by a lot
of modern graphcis extensions
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
7c6a89727543e7f0b72b792ec77f02565337e923 08-Jul-2010 Brian Paul <brianp@vmware.com> st/mesa: additional assertions in st_translate_mesa_program()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
da7bd6a90e1fee5c16327338fd251c0f6be34e36 28-Jun-2010 Zack Rusin <zackr@vmware.com> mesa: initial support for ARB_geometry_shader4

laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
dfe9dec04f707d61633665785600156d282d0d39 03-Jun-2010 Brian Paul <brianp@vmware.com> st/mesa: fix indirect addressing of input/output regs

This fixes an issue that was missed with commit
9f544394c1d059ce09c8bb2b5e11f5e871c7915f.
Fixes piglit glsl-texcoord-array.shader_test
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
4e9c3bbc60c2dd491ca45d3a5e0b9e156b1bc225 10-May-2010 Brian Paul <brianp@vmware.com> st/mesa: rename vars, added comments
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3b2bdde1b2ee93f77c01f5a94ebb7778192c15f8 10-May-2010 Brian Paul <brianp@vmware.com> st/mesa: only set prevInstWrotePsiz if translating a vertex program
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
adbbaae7b925b212866bcba57e17db5824a16390 10-May-2010 Brian Paul <brianp@vmware.com> st/mesa: additional assertions in dst_register()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
0ad541a684ca55e883a0bcde9ab8b5d73806269a 04-May-2010 Marek Olšák <maraeo@gmail.com> st/mesa: fix per-vertex point size

This fixes FDO bug #27343.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
4ae2bdcb150aa87557c8f1648445e84bfb926986 09-Apr-2010 Brian Paul <brianp@vmware.com> st/mesa: new assertions to check array indexes
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
7d2db19fe581ede34dd1f396f1e0bd46ea5c3776 06-Apr-2010 Brian Paul <brianp@vmware.com> st/mesa: reformatting
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
489eced800cb0f20a1e1d66b84a048e4df99503b 06-Apr-2010 Brian Paul <brianp@vmware.com> st/mesa: put fragment wpos code into separate function
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
653a83445f94620673f747a4ace6847a2c7fdb4d 09-Feb-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-nopointsizeminmax'

Conflicts:
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv20/nv20_state.c
src/gallium/drivers/nv50/nv50_program.c
ae4dde6598eacb64bf865037bdaea2041499aa27 05-Feb-2010 Brian Paul <brianp@vmware.com> st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flag
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
337d3b2b391c50130fa825ee853a570e1a84d309 05-Feb-2010 Brian Paul <brianp@vmware.com> st/mesa: allow negative index for PROGRAM_STATE_VAR

The piglit vp-address-01 test uses negative address-relative
offsets. In this test we're indexing into PROGRAM_STATE_VAR
which, in turn, contains references to ENV vars.

We previously fixed this issue for PROGRAM_CONSTANT.

piglit/vp-address-01 (the version from Feb 5) passes now.

(cherry picked from commit 64be837b0b171c44f47a3c0b83f566d292ffff50)
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2c326e72664e65166c68b027b26aaf373f3be36d 04-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: add point size clamp to implementation limits in vertex shader

The point size min/max registers (unused by mesa state tracker) were removed
since most hardware couldn't do much with them. However, we don't want to have
to rely on hw to do point size clamping correctly to implementation
dependent limits, hence have to do that in the vertex shader. This should also
solve a potential problem with (non-AA) points smaller than 1.0 which according
to OGL still have size 1.0.
Note that OGL point rendering is odd, in particular point sprites are rasterized
differently to points. Some hardware might support those different modes, but in
any case the different clamping values used for smooth/multisampled/sprite
enabled points might help a bit for hw which rasterizes points the same as point
sprites.
Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in
case of point attenuation.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f8f2520e88cecf21aee5023423185deea7e44b23 31-Jan-2010 Vinson Lee <vlee@vmware.com> st/mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
62c673b6ac65d27ed83acc92434874b45f75db5c 21-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> st/mesa: Gallium support for ARB_fragment_coord_conventions (v4)

Changes in v4;
- Implemented Brian Paul's style suggestions

Changes in v3:
- Use positive caps instead of negative ones

Changes in v2:
- Updated formatting

The state tracker will use the TGSI convention properties if the hardware
exposes the appropriate capability, and otherwise adjust WPOS itself.

This will also fix some drivers that were previously broken due to their
incorrect, inadvertent, use of conventions other than upper_left+half_integer.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
0766780a98a86c474c70dcd0179d697b906ecfdb 18-Jan-2010 Brian Paul <brianp@vmware.com> st/mesa: updated comments and whitespace
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e5347ca94dd58351aa81ec09addd537f1dbc3e9d 17-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> st/mesa: fix memory leak in st_translate_mesa_program

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e32487b8a13a9efabb0359a9dde33e074e905e82 06-Jan-2010 José Fonseca <jfonseca@vmware.com> Merge remote branch 'origin/mesa_7_7_branch'

Conflicts:
configs/default
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/mesa/main/version.h
9f544394c1d059ce09c8bb2b5e11f5e871c7915f 05-Jan-2010 Brian Paul <brianp@vmware.com> st/mesa: fix broken translation of negative register indexes

A src register's index can be negative if we're doing indirect
addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3]

This fixes the piglit vp-arl-neg-array.vpfp test.

Before this change we were going out of bounds of the t->constants[]
array and getting garbage that later triggered an assertion.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ef1b9426918a29b7ddd28601b0e53ed683abb89a 05-Jan-2010 Brian Paul <brianp@vmware.com> st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()

Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
9d938e29f202552a98605906b71f31485af1ef60 18-Dec-2009 Roland Scheidegger <sroland@vmware.com> fix debug output mising from edgeflag changes
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
890809d71b6ab40c56d341a5dad9f5e6b06469d0 18-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix mesa to tgsi translation for edgeflags

test apps (progs/trivial/tri-edgeflags and similar) seem to work now
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a0127b6ced257919180ba3a1bf534b68d9c750be 14-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: more work for edgeflags changes

fixes, cleanups, etc.
not working yet
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a08e348a84f57ed5e8bf5888f1ce13934d2ce8fa 09-Dec-2009 Keith Whitwell <keithw@vmware.com> gallium: first steps to treat edgeflags as regular vertex element

The idea here is to eliminate the set_edgeflags() call in pipe_context
by treating edgeflags as a regular vertex element.

Edgeflags provoke special treatment in hardware, which means we need to
label them in some way, in this case we'll be passing them through the
vertex shader and labelling the vertex shader output with a new TGSI
semantic (TGSI_SEMANTIC_EDGEFLAG).
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c90baf444ca91d06ae5be392a04c0c8119cb08dd 07-Dec-2009 Brian Paul <brianp@vmware.com> st/mesa: remove debug code
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8ce17134431ec27666e8fba2fa4bd22ba3f3ed18 07-Dec-2009 Brian Paul <brianp@vmware.com> st/mesa: negate DDY to match GL semantics

This fixes the regression from commit 884007546c98b1779bf266ec5111b1e7e2b68b2e
Fixes bug 25456 (piglit derivs regression).
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
cc8a537c57a62a196106b592e510e4c93bd1826e 02-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_7_branch'
8c26cefec7ad52c4fa52fd1a89e18f463b85257b 30-Nov-2009 Brian Paul <brianp@vmware.com> st/mesa: updated emit_swz() comment
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
7725744433827509d1da1cf1b27cda4bc8012ef3 30-Nov-2009 Brian Paul <brianp@vmware.com> st/mesa: handle front/back-face +1/-1 vs. 1/0 conversion

Fixes progs/glsl/twoside.c demo.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
9953fe4cb48b02a0d75735b88173f0ed170a77f2 15-Nov-2009 Keith Whitwell <keithw@vmware.com> mesa/st: don't calculate unused output_flags data either
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
0ffdd1c1e897c448cbc359aea3e3a3ba098bbfe5 15-Nov-2009 Keith Whitwell <keithw@vmware.com> mesa/st: don't calculate unused input_flags data
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b9cb74c7f826dfd320f5e5b54aa933898f7ddd3d 23-Oct-2009 Keith Whitwell <keithw@vmware.com> gallium: remove the swizzling parts of ExtSwizzle

These haven't been used by the mesa state tracker since the
conversion to tgsi_ureg, and it seems that none of the
other state trackers are using it either.

This helps simplify one of the biggest suprises when starting off with
TGSI shaders.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
4e1d51786e0657c7430d731ac464f2a73e32eddf 23-Oct-2009 Keith Whitwell <keithw@vmware.com> gallium: remove noise opcodes

Provide a dummy implementation in the GL state tracker (move 0.5 to
the destination regs).

At some point, a motivated person could add a better
implementation of noise. Currently not even the nvidia
binary drivers do anything more than this. In any case, the
place to do this is in the GL state tracker, not the poor
driver.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c0de2ed5055b951ff523c3b25eecfc82d1f307ef 07-Oct-2009 Keith Whitwell <keithw@vmware.com> mesa/st: add missing mesa constant file name

There are many different names for constants in mesa, we were missing
one since the ureg rewrite.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
734a498ed47b35c9e8e7172d19465aca640fa323 21-Sep-2009 José Fonseca <jfonseca@vmware.com> mesa: Ensure TGSI tokens are freed with gallium's free.

To avoid breaking the gallium's builtin malloc debugging.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
be0cdd77eaee3de4d3fcd6f5832f4796990247f3 15-Sep-2009 Brian Paul <brianp@vmware.com> st/mesa: disable accidentally committed _mesa_print_program() call
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
909ab3377f7c61049c1fb29b8898e7d84489ce21 15-Sep-2009 Brian Paul <brianp@vmware.com> st/mesa: minor whitespace, comment clean-ups
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
d7512521fd73aea3c6f19c427a877fc74e3fa557 14-Sep-2009 Keith Whitwell <keithw@vmware.com> mesa/st: remove dead comment
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
4295b34d25f40f38b8cfd3ebdc64aef29d0666db 12-Sep-2009 Keith Whitwell <keithw@vmware.com> st/mesa: convert to new tgsi_ureg mechanism for shader emit

Should be easier to read and work with than the older ways of emitting
TGSI tokens.

Also, emit simpler TGSI than previously:
- translate away source and dest extended modifiers
- translate away the SWZ opcode
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
09b566e1610ec699490dc01bcea0b8c5cc44a78d 12-Sep-2009 Keith Whitwell <keithw@vmware.com> mesa: remove unused SATURATE_PLUS_MINUS_ONE flag

Never set in mesa. Remove from tgsi translation as well.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f3b215cba2bca92d6582cc0c34702b73289f909c 13-Aug-2009 Brian Paul <brianp@vmware.com> Merge branch 'new-frag-attribs'

This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment
program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these
attributes were packed with the FOG attribute. That made things
complicated elsewhere.
cb90c43676c258419e4b617c908570891d3674cb 31-Jul-2009 Michal Krol <michal@vmware.com> Rename TGSI LOOP instruction to better match theri usage.

The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour
is similar to a C language for-loop.

The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now
there is no name collision.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
9d0b8d72d8d704ff4d8e10448b60cbb42f07eecb 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs

Previously, the FOGC attribute contained the fragment fog coord, front/back-
face flag and the gl_PointCoord.xy values. Now each of those things are
separate fragment program attributes. This simplifies quite a few things in
Mesa and gallium.

Need to test i965 driver and fix up point coord handling in the gallium/draw
module...
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b9889517f5e7eceb14bd103bbdff9ff47ce6ed25 30-Jul-2009 Brian Paul <brianp@vmware.com> gallium: fix SSE shadow texture instructions

When sampling a 2D shadow map we need 3 texcoord components, not 2.
The third component (distance from light source) is compared against
the texture sample to return the result (visible vs. occluded).

Also, enable proper handling of TGSI_TEXTURE_SHADOW targets in Mesa->TGSI
translation. There's a possibility for breakage in gallium drivers if
they fail to handle the TGSI_TEXTURE_SHADOW1D / TGSI_TEXTURE_SHADOW2D /
TGSI_TEXTURE_SHADOWRECT texture targets for TGSI_OPCODE_TEX/TXP instructions,
but that should be easy to fix.

With these changes, progs/demos/shadowtex.c renders properly again with
softpipe.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
fd31f92cea0ce8613a22d8f4b3c75b340bcc5689 22-Jul-2009 Keith Whitwell <keithw@vmware.com> gallium: simplify tgsi_full_immediate struct

Remove the need to have a pointer in this struct by just including
the immediate data inline. Having a pointer in the struct introduces
complications like needing to alloc/free the data pointed to, uncertainty
about who owns the data, etc. There doesn't seem to be a need for it,
and it is unlikely to make much difference plus or minus to performance.

Added some asserts as we now will trip up on immediates with more
than four elements. There were actually already quite a few such asserts,
but the >4 case could be used in the future to specify indexable immediate
ranges, such as lookup tables.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
762c1d11ffbb5179e44117397559e7cc2dfe9cef 10-Jul-2009 Brian Paul <brianp@vmware.com> st/mesa: implement indirect addressing for destination registers
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a4d952358d8fd0f9d135c91c37969acdcf394f0a 07-Jul-2009 Zack Rusin <zackr@vmware.com> gallium: more fog extraction fixes

fix the cases when fog coord/front face/point coord are used in the same
shader.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
1c04731b8721850b6abb12a43a3eec616b850e86 01-Jul-2009 Zack Rusin <zack@kde.org> gallium: fix the front face semantics

mesa allocates both frontface and pointcoord registers within the fog
coordinate register, by using swizzling. to make it cleaner and easier
for drivers we want each of them in its own register. so when doing
compilation from the mesa IR to tgsi allocate new registers for both
and add new semantics to the respective declarations.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
7db7ff878d3e5a6b345228e6eaee4797bb68b360 15-Apr-2009 Brian Paul <brianp@vmware.com> mesa: merge the prog_src_register::NegateBase and NegateAbs fields

There's really no need for two negation fields. This came from the
GL_NV_fragment_program extension. The new, unified Negate bitfield applies
after the absolute value step.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
401cbd0d2365e5b2d371a2a01edf1cecca4a99dd 21-Mar-2009 Brian Paul <brianp@vmware.com> gallium: remove use of origin_lower_left

This was used to indicate OpenGL's lower-left origin for fragment window
coordinates for polygon stipple and gl_FragCoord.

Now:
- fragment coordinate origin is always upper-left corner
- GL polygon stipple is inverted and shifted before given to gallium
- GL fragment programs that use INPUT[WPOS] are modified to use an
inverted window coord which is placed in a temp register.

Note: the origin_lower_left field still exists in pipe_rasterizer_state.
Remove it when all the drivers, etc. no longer reference it.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b4026d9be828bd0b6f60158456edf24994efb053 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: gl_register_file enum typedef
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
776971218ef6c6749fcb882a95ae5fc3a1ff5059 20-Feb-2009 Brian Paul <brianp@vmware.com> gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX instructions

These texture types were defined but never put to use.
For the time being though, the Mesa->TGSI translater isn't emitting these
targets. See the XXX comment in map_texture_target().
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ea4bf267e4b023b08043f91ac44592fed1736e7f 18-Feb-2009 José Fonseca <jfonseca@vmware.com> util: Move p_debug.h into util module.

The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
baef7c5474d302f1bc9997b09948fd6b883ec60d 17-Feb-2009 Alan Hourihane <alanh@vmware.com> mesa: remove old comment as it's fixed elsewhere now.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b20a1b28b7e581304701c5802e8627003e461e45 10-Feb-2009 Patrice Mandin <patmandin@gmail.com> Missing: tgsi: Fix build -- rename Size to NrTokens.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
d917ad5dbd17f2399a5a3590fe6c06a64d683771 03-Jan-2009 Brian Paul <brianp@vmware.com> gallium: assorted state tracker fixes for > 8 texture samplers
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8abc860bd46a6cd584f9a64cb4613be76f82db06 15-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/winsys/gdi/SConscript
ec007dbe0f38798553d2a3c29c979dd3b7767818 10-Dec-2008 Keith Whitwell <keith@tungstengraphics.com> st: don't unilaterally ABS the argument to RSQ
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2 24-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: pass shader centroid/invariant info through to the TGSI shader
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8343d0f6e4e6cc49c866f98f0a551872cc8ffa26 07-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodes
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3225bc84932f08a52db7025367ae206a9d2f8fef 07-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: s/OPCODE_INT/OPCODE_TRUNC/
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
81234666fcd2cbdc92ba5e14b3bb259929b17549 19-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
13a8c18d3d0ca505f053a15fc664a705cbc8be84 19-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
0576e837f18ad9925d732f883f4922c907d7bafb 19-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: Fix arb parse constants
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
095ca0acd8019e8f2da89f9320b92ce4a96a140e 17-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: include prog_print.h to silence warning
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ec8398d62f5e5084e9eeb98ed55324ab98214248 17-Sep-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> tgsi: Add a ugly fix for CONSTANT problems
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
f8a5cb8cb2fde732016888a2554872d702803c01 17-Sep-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> tgsi: More debug printing on sanity check error
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
358aab12c60d5e627d2ce54c1407659cbc207e8c 16-Sep-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> mesa: State tracker now checks for faulty shaders on debug
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
5d0a079fd00e5c9f1e9c96dd7bd17ecee57c52ce 18-Aug-2008 Michal Krol <michal@tungstengraphics.com> st: Do not translate program constants to immediates when
indirect addressing used.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3eeaa943e264d9c61abfe5f4cf6351fdba0be4fd 18-Aug-2008 Michal Krol <michal@tungstengraphics.com> st: Translate address register declaration.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
81dbc31f8b21aecdb91802dd4481057bd670f227 18-Aug-2008 Michal Krol <michal@tungstengraphics.com> st: Fix immediate construction.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e7e992b12ab3717eadaf055fe2fab88c3be8a092 13-Aug-2008 Michal Krol <michal@tungstengraphics.com> mesa: KIL -> KIL, KIL_NV -> KILP.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c208a2c791fa24c7c5887fc496738cbddbfafc72 27-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> Merge tgsi/exec and tgsi/util directories.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
93f553ed4d94a13ca1bc9c1ed962bd6963cd9ec6 23-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix translation of extended swizzles, per-component negation
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c921a29b3a696f6fa99b648d6cd975dbcf106429 24-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Replace abort by asserts.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
68ef8e89a5f25cd9f80e2b9088604631a28edc3c 10-Jun-2008 Zack Rusin <zack@tungstengraphics.com> glsl: implement variable array indexes
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a3212ee313c52ff4fc15804a3b4ddfb186556575 31-May-2008 Michal Krol <michal@tungstengraphics.com> mesa: Fix build after TGSI declaration interface changes.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
bf1e120b318ba8cbda7316fb8862acd44a3b459f 01-May-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: squash harmless warning
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
90b9a11a6d69f1cf6c837def0e8a9b598079ef1b 15-Apr-2008 Brian <brian.paul@tungstengraphics.com> gallium: fix semantic indexes for outputs
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b53d6ae4be955c701695e093ea4457ab1c9c0ed7 05-Apr-2008 Brian <brian.paul@tungstengraphics.com> gallium: always pass size=4 to make_immediate()

Mesa always packs 4 immediates into each parameter/const buffer slot.
I think we were just getting lucky with this as it was.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
a2b917c1cdb9cdd9b016e5cb9637e90c58fa911b 12-Mar-2008 Brian <brian@poulsbo.localnet.net> gallium: use TXP rather than ExtDivide flag
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
339e7ec6805e6de8794514c0a935081b5d36d38f 12-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: rework CSO-related code in state tracker

Use the code in cso_context.c rather than st_cache.c.
Basically, binding of state objects now goes through the CSO module.
But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're
not cached by the CSO module at this time.

Also, update softpipe driver to handle NULL state objects in various places.
This happens during context destruction. May need to update other drivers...
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
6acd63a4980951727939c0dd545a0324965b3834 15-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> Code reorganization: update build.

Update the Makefiles and includes for the new paths.

Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
25e2b8d669e01aac551276af7f34d8708d8cb9d0 17-Jan-2008 José Fonseca <jrfonseca@tungstengraphics.com> Revert "temporarily don't emit TGSI immediates, use the constant buffer"

This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
310e7ca44b33558a9aa22f43024d1bfb63642128 17-Jan-2008 Brian <brian.paul@tungstengraphics.com> temporarily don't emit TGSI immediates, use the constant buffer

This allows a few more programs to run and not crash.
Need to get constant buffer uploads working...
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
21c67b70d4bcffad8f0f07c0423c18e59f4259ea 20-Dec-2007 Keith Whitwell <keith@tungstengraphics.com> gallium: translate ARB fp/vp immediates consistently to tgsi immediates
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e9207430cefd44beb1a16cfb5879a7ace475e2f5 19-Dec-2007 Brian <brian.paul@tungstengraphics.com> Add some prototype code for converting RET to END for main(). Disabled for now.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
1575763a6f57d1f13c707b709f188b0617c8955a 19-Dec-2007 Brian <brian.paul@tungstengraphics.com> convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
8978627ad0e236796758d4912822b3428a649987 17-Dec-2007 Brian <brian.paul@tungstengraphics.com> Emit declarations for constants (references to the const buffer)
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
814d4ff83a515fe161cfb86c8b1492e2218051fe 14-Dec-2007 Brian <brian.paul@tungstengraphics.com> emit tgsi declarations for texture samplers
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e785f190f0d49f0367f7468c22b77962d0f14ea0 14-Dec-2007 Brian <brian.paul@tungstengraphics.com> Don't always declare frag shader INPUT[0] as fragment position.

We were doing this for the sake of softpipe and the tgsi intergrepter since
we always need the fragment position and W-coordinate information in order
to compute fragment interpolants.
But that's not appropriate for hardware drivers.
The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector
variable setup by softpipe.
The new pipe_shader_state->input_map[] defines how vert shader outputs map
to frag shader inputs. It may go away though, since one can also examine
the semantic label on frag shader input[0] to figure things out.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
abd5e8e41d54f7f491f91af9354f19c8d24d3572 23-Nov-2007 Michal Krol <michal@tungstengraphics.com> gallium: reorg tgsi directories.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c5841425433f003af76f03435de719c40635005a 19-Nov-2007 José Fonseca <jrfonseca@tungstengraphics.com> Fix build errors.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2f496ff9574ad99f8d85b5d63e97b15faf5aee39 30-Oct-2007 Michel Dänzer <michel@tungstengraphics.com> tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
b0f3b5910ebd0737600ab7b1fdc135d74f2617f4 29-Oct-2007 Zack Rusin <zack@tungstengraphics.com> Enable immediates in TGSI and work with them in LLVM code.

Enables immediates by default in the TGSI translation code
and adds code handling it in llvm tgsi translation.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e15ca7963e8b2e80eb79f6352f0761d0c1581fb5 29-Oct-2007 Michal Krol <michal@tungstengraphics.com> Remove TGSI_INTERPOLATE_ATTRIB.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
af5061cf5aced1d59d0a051c44ca5f8d633ddb7f 29-Oct-2007 Michal Krol <michal@tungstengraphics.com> Fix newlines.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
2bbd714fda7b0fb21184bea8ed0c08f155cba528 28-Oct-2007 Michal Krol <michal@tungstengraphics.com> Update comments.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
c5ad88e9f1d6a915d9464df0b8fa4de65a3513d2 28-Oct-2007 michal <michal@michal-laptop.(none)> Declare temporaries in a more compact fashion.

The following declarations:
DCL TEMP[0]
DCL TEMP[1]
DCL TEMP[2]
DCL TEMP[4]
become:
DCL TEMP[0..2]
DCL TEMP[4]
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
e420e9d48577de57f912ab39d59c2d1d4d14b8f6 28-Oct-2007 michal <michal@michal-laptop.(none)> Declare temporaries in a more compact fashion.

The following declarations:
DCL TEMP[0]
DCL TEMP[1]
DCL TEMP[2]
DCL TEMP[4]
become:
DCL TEMP[0..2]
DCL TEMP[4]
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
6ada4e3a69476ed086955fe4060b894559e1eb95 27-Oct-2007 Brian <brian.paul@tungstengraphics.com> Comments about texture instructions and the src regs
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
ef6940f17220f1149dce6daf548bd0103d91a281 27-Oct-2007 Brian <brian.paul@tungstengraphics.com> Move mesa_to_tgsi.[ch] to state_tracker
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
3cf6644c00ad0b265c64645d0b14de9dc90ba851 27-Oct-2007 Brian <brian.paul@tungstengraphics.com> Move mesa_to_tgsi.[ch] into state tracker.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c