mesa/src/gallium/docs/source
Roland Scheidegger 427d36a227 gallium: fix tgsi SAMPLE_L opcode to use separate source for explicit lod
It looks like using coord.w as explicit lod value is a mistake, most likely
because some dx10 docs had it specified that way. Seems this was changed though:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh447229%28v=vs.85%29.aspx
- let's just hope it doesn't depend on runtime build version or something.
Not only would this need translation (so go against the stated goal these
opcodes should be close to dx10 semantics) but it would prevent usage of this
opcode with cube arrays, which is apparently possible:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb509699%28v=vs.85%29.aspx
(Note not only does this show cube arrays using explicit lod, but also the
confusion with this opcode: it lists an explicit lod parameter value, but then
states last component of location is used as lod).
(For "true" hw drivers, only nv50 had code to handle it, and it appears the
code was already right for the new semantics, though fix up the seemingly
wrong c/d arguments while there.)

v2: fix comment, separate out other changes.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-02-12 16:51:11 +01:00
..
cso gallium/docs: beef up the docs related to color clamping 2012-05-25 10:02:22 -06:00
exts gallium/docs: Add formatting for envvar role; change debugging. 2010-08-15 03:43:54 -07:00
conf.py gallium/docs: update some distro information 2012-10-15 16:11:49 +02:00
context.rst gallium: remove PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE 2013-01-15 16:47:18 +01:00
cso.rst Fill out some of the CSO info. 2009-12-20 16:40:39 -08:00
debugging.rst gallium/docs: Add Galahad 2010-08-20 02:29:42 +01:00
distro.rst gallium/docs: update some distro information 2012-10-15 16:11:49 +02:00
glossary.rst gallium: support for array textures and related changes 2010-12-02 04:33:43 +01:00
index.rst gallium: add PIPE_TEXTURE_RECT target 2010-08-20 12:03:59 +02:00
intro.rst Add Gallium docs. 2009-12-20 15:00:40 -08:00
pipeline.txt gallium/docs: added new pipeline.txt diagram 2010-09-17 18:50:47 -06:00
resources.rst gallium/docs: improve documentation for resources 2010-08-20 15:24:36 +02:00
screen.rst gallium: add PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT 2013-01-30 13:10:11 +01:00
tgsi.rst gallium: fix tgsi SAMPLE_L opcode to use separate source for explicit lod 2013-02-12 16:51:11 +01:00