History log of /external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dacf5dc9ac1a700b86e0dc385513afaff41e7aea 28-Jul-2012 Marek Olšák <maraeo@gmail.com> gallium: add TGSI support for multisample textures

The only allowed instructions are TXQ_LZ and TXF.

TXQ_LZ is like TXQ, but without the LOD parameter (which is always zero
with MSAA textures)

The 3rd or the 4th texcoord component in TXF should contain the sample index
for a 2D_MSAA or 2D_ARRAY_MSAA texture, respectively.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
c2d31a83a8104acba05f92b025bc9b145ca34974 30-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/tgsi: Add support for atomic opcodes.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
9e550c34237898385c07af2cbb2da76670ed994e 30-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/tgsi: Add support for barriers.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
b8e808f1ef9462af8545999df514fddbbff34345 30-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/tgsi: Add resource write-back support.

Define a new STORE opcode with a role dual to the LOAD opcode, and add
flags to specify that a shader resource is intended for writing.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
a5f44cc8c2ce0916809ce5da5a2490ad000ef099 01-May-2012 Francisco Jerez <currojerez@riseup.net> gallium/tgsi: Split sampler views from shader resources.

This commit splits the current concept of resource into "sampler
views" and "shader resources":

"Sampler views" are textures or buffers that are bound to a given
shader stage and can be read from in conjunction with a sampler
object. They are analogous to OpenGL texture objects or Direct3D
SRVs.

"Shader resources" are textures or buffers that can be read and
written from a shader. There's no support for floating point
coordinates, address wrap modes or filtering, and, unlike sampler
views, shader resources are global for the whole graphics pipeline.
They are analogous to OpenGL image objects (as in
ARB_shader_image_load_store) or Direct3D UAVs.

Most hardware is likely to implement shader resources and sampler
views as separate objects, so, having the distinction at the API level
simplifies things slightly for the driver.

This patch introduces the SVIEW register file with a declaration token
and syntax analogous to the already existing RES register file. After
this change, the SAMPLE_* opcodes no longer accept a resource as
input, but rather a SVIEW object. To preserve the functionality of
reading from a sampler view with integer coordinates, the
SAMPLE_I(_MS) opcodes are introduced which are similar to LOAD(_MS)
but take a SVIEW register instead of a RES register as argument.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
a206c4cd69a881bf3f8d960607d604b6d53e3a26 20-Feb-2012 José Fonseca <jfonseca@vmware.com> gallivm: Fix TGSI_OPCODE_ARR's translation.

Like TGSI_OPCODE_ARL, destination should be an integer.

This fixes invalid LLVM IR on an internal state tracker (currently Mesa
never emits this opcode).

In the future consider making ADDR register also a integer-as-float array,
like all other register kinds, or simply replace ADDR & ARR/ARL with
integer temp and instructions.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
13e2e51f7058dff01281050db1b64639ad3b399e 24-Jan-2012 Dave Airlie <airlied@redhat.com> tgsi: add source/destination type from opcodes. (v2)

These two functions produce the src/dst types for an opcode.

MOV is special since it can be used to mov float->float and int->int,
so just return VOID.

v2: use a new enum for the opcode type as per Jose's suggestion.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
df169457909e1985c65e8a19c245133d2f5f013d 06-Jan-2012 Tom Stellard <thomas.stellard@amd.com> tgsi: Add output_mode to struct tgsi_opcode_info v2

v2:
- Rename output_type to output_mode
- Add shorthand definitions for TGSI_OUTPUT_*
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
b6cbc28533a3fd68dbfe694c0774735233df8758 09-Jan-2012 Dave Airlie <airlied@redhat.com> tgsi: add ISSG support

This adds integer version of SSG that GLSL 1.30 can produce.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
4c0f1fb5ec6117f07c9c911d7f74ff0d18c51d98 07-Jan-2012 Bryan Cain <bryancain3@gmail.com> gallium: add an IABS opcode to TGSI

This is a necessary operation that is missing from TGSI.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
324ac982d8e7c2693035342de2d24baff3042911 10-Sep-2011 Bryan Cain <bryancain3@gmail.com> gallium: add TGSI opcodes UARL and UCMP

They are needed by glsl_to_tgsi for an efficient implementation using native
integers.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
bdbe77f9c6f06cfaa155f27c2ade3c523d7fbea7 24-Jan-2011 Zack Rusin <zackr@vmware.com> gallium: implement modern sampling scheme

largely a merge of the previously discussed origin/gallium-resource-sampling
but updated.
the idea is to allow arbitrary binding of resources, the way opencl, new gl
versions and dx10+ require, i.e.
DCL RES[0], 2D, FLOAT

LOAD DST[0], SRC[0], RES[0]
SAMPLE DST[0], SRC[0], RES[0], SAMP[0]
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
92d88ccd9a3f68584453ba548df4fb5496a7dbf9 06-May-2010 Brian Paul <brianp@vmware.com> tgsi: added tgsi_get_processor_name()
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
73e1405de0277bab2d617742ff5a764467e32899 27-Apr-2010 José Fonseca <jfonseca@vmware.com> tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
c34f6faf35c16ff81a1c4420290be4ed7f542121 02-Jan-2010 Michal Krol <michal@vmware.com> gallium: Add UMOD TGSI opcode.

Either that or have UDIV have two destination operands.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
062aab96e015021f3b83067848495a8ce2d92456 01-Jan-2010 Michal Krol <michal@vmware.com> gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.

Provide reference implementation of them in tgsi_exec.

Note that BREAK opcode is overloaded and can be used to break out
of either a loop or a switch-case statement.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
df0826fba37f38e9ea094180c71f2460e5b50e38 23-Dec-2009 Michal Krol <michal@vmware.com> tgsi: Implement new integer opcodes.

Update interpreter and ureg.
Also, get rid of SHR -- it's actually an alias for ISHR.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.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/gallium/auxiliary/tgsi/tgsi_info.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/gallium/auxiliary/tgsi/tgsi_info.c
848ab8be8c34b00b2afe6120882f8c29f047ced5 03-Sep-2009 Keith Whitwell <keithw@vmware.com> aux/tgsi: pull back ureg work from 0.1 branch

Manual merge of ureg changes on the branch. Too much unrelated stuff
for a proper merge.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
b3f4b56a3b7f979c631358caefed635c6ec56453 01-Sep-2009 Keith Whitwell <keithw@vmware.com> tgsi: remove redundant CND0 opcode

Can be implemented with CMP src2, src1, src0
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
c3c90c2dd95ba4f714c6d5fdf5793e1db1a191ca 31-Jul-2009 Brian Paul <brianp@vmware.com> tgsi: added tgsi_get_opcode_name()
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
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/gallium/auxiliary/tgsi/tgsi_info.c
65fb2c52f9e86627652cac0d4139b40bef102596 30-Jul-2009 Michal Krol <michal@vmware.com> tgsi: Fix number operands for LOOP/ENDLOOP.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
78379abcbf853b2cff8d832b45ecf0eeb54b2c58 22-Jul-2009 Keith Whitwell <keithw@vmware.com> gallium: remove deprecated TGSI opcodes

Various opcodes which can be implemented trivially with other TGSI opcodes,
such as matrix multiplication and negation. These were not used by any
state tracker or implemented by any of the drivers.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
ede9f3b52ecb27ada81fee06a943bb595c60eaee 12-Jun-2009 Keith Whitwell <keithw@vmware.com> gallium: remove multiple aliases for TGSI opcodes

This is a source of ongoing confusion. TGSI has multiple names for
opcodes where the same semantics originate in multiple shader APIs.

For instance, TGSI includes both Mesa/GLSL and DX/SM30 names for
opcodes with the same semantics, but aliases those names to the same
underlying opcode number.

This makes it very difficult to visually inspect two sets of opcodes
(eg in state tracker & driver) and check if they implement the same
functionality.

This patch arbitarily rips out the versions of the opcodes not currently
favoured by the mesa state tracker and leaves us with a single name
for each distinct operation.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
d11a476ead3e617e45b091f73bd1f67042643a0f 01-Apr-2009 Michal Krol <michal@vmware.com> tgsi: Fix structure members initialisation.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
1aa4b79dc772825cabfcc97de90b7247cc4b10a0 01-Apr-2009 Michal Krol <michal@vmware.com> tgsi: Provide alternate instruction mnemonics in tgsi info.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.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/gallium/auxiliary/tgsi/tgsi_info.c
8cdab20c9a0d8794d5d85dbeef478b982ce39506 16-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix info entries for KIL, KILP

KIL takes 1 src register. KILP uses no registers (uses cond codes).
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c
94f9faab31f7fbf5f14d23d993f9830fa51ce076 13-Aug-2008 Michal Krol <michal@tungstengraphics.com> tgsi: Opcode information.
/external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_info.c