d995115b1733ec14182e6bb4653b8f8389b87518 |
|
19-Dec-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: remove TGSI_OPCODE_SUB It's redundant with the source modifier. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
a4ace98a9733b3e83d971f4871c2908749c0e5c8 |
|
19-Dec-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: remove TGSI_OPCODE_ABS It's redundant with the source modifier. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
c3df65c123c6392b0b116900395a89fd3dbb9b85 |
|
17-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/r200/i915/i965: move ARB program fields into a union It's common for games to compile 2000 programs or more so at 32bits x 2000 programs x 22 fields x 2 (at least) stages This should give us something like 352 kilobytes in savings once we add some more glsl only fields. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
4016f08854a41b50d7636fc5e3cf0dfab5029cab |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/st/mesa: use common system values read field And set system values read directly in shader_info. st/mesa changes where: Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
e81aaeba37f5419323d8f88bc10943c77e25ed14 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
r200/i915/st/mesa/compiler: use common inputs read field And set set inputs_read directly in shader_info. To avoid regressions between changes this change is a squashed version of the following patches. st/mesa changes where: Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
3423488d55b9c483fcdb3996eb89b424c1031d24 |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/r200/i915/i965: eliminate gl_fragment_program Here we move OriginUpperLeft and PixelCenterInteger into gl_program all other fields have been replace by shader_info. V2: Don't use anonymous union/structs to hold vertex/fragment fields suggested by Ian. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
eacda2c08085c8296949b2743e9ecdb2d2d6d54f |
|
17-Oct-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa_to_tgsi: remove remnants of flow control and subroutine support Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
82f4c0126d6d6eb0edfe3269c103ddf2df8cc9a1 |
|
17-Oct-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa_to_tgsi: drop support for instructions that can't occur here Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
60a27ad122128145d28be37e9c0b0bc86a8e5181 |
|
23-Jun-2016 |
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> |
Remove wrongly repeated words in comments Clean up misrepetitions ('if if', 'the the' etc) found throughout the comments. This has been done manually, after grepping case-insensitively for duplicate if, is, the, then, do, for, an, plus a few other typos corrected in fly-by v2: * proper commit message and non-joke title; * replace two 'as is' followed by 'is' to 'as-is'. v3: * 'a integer' => 'an integer' and similar (originally spotted by Jason Ekstrand, I fixed a few other similar ones while at it) Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
f7328f9afd13a1862259128713ea39757e175a84 |
|
13-Apr-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
prog: Delete all remains of OPCODE_SNE, OPCODE_SEQ, OPCODE_SGT, and OPCODE_SLE There is nothing left that can generate them. These used to be generated by ir_to_mesa or by the assembler for various NV extensions that have been removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
62b7958cd0ec03ff1e15144f0104728458621d1d |
|
30-Apr-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
gallium: fix various undefined left shifts into sign bit Funnily enough, some of these were turned into a compile-time error by gcc with -fsanitize=undefined ("initializer is not a constant"). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
af249a7da9bf2621ab836d5074ef692677b11bbf |
|
16-Apr-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: use PIPE_SHADER_* everywhere, remove TGSI_PROCESSOR_* Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
704d203d5f9bfaee1367678e3c4e11e25e22acc4 |
|
12-Apr-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace _mesa_sysval_to_semantic table with function Instead of using an array indexed by SYSTEM_VALUE_x, just use a switch statement. This fixes a regression caused by inserting new SYSTEM_VALUE_ enums but not updating the mapping to TGSI semantics. v2: fix a few switch statement mistakes for compute-related enums Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
72eb5a3cfe29eabdd0a2386642b36f9648a911fc |
|
16-Mar-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: emit sampler view declarations for ARB vert/frag programs Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
9211b68ad3dae7cc6cc49f77cf2393b215e25c59 |
|
16-Mar-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean up st_translate_texture_target() Reformat code. Improve assertion. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
fe2d2c7ad8793fbcc4761cf5b51270c296eb811c |
|
27-Feb-2016 |
Matt Turner <mattst88@gmail.com> |
program: Remove NV_fragment_program Abs support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
9e11ff7e11c87dd19d2274644bca7a869ff2143d |
|
27-Feb-2016 |
Matt Turner <mattst88@gmail.com> |
program: Remove OPCODE_KIL_NV. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
a0c3650ad359df8f770eee042d60359492df3702 |
|
27-Feb-2016 |
Matt Turner <mattst88@gmail.com> |
program: Remove RelAddr2 support. Looks like more never-used crap from the first geometry shader attempt. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
8a13ce14fd4e29e4e74322c1a3d548960f7f9bc6 |
|
02-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: add support for POSITION and FACE system values Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
c886422656f38593e1db3700ae747058f55125d4 |
|
07-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
tgsi/ureg: remove index parameter from ureg_DECL_system_value It can be trivially derived from the number of already declared system values. This allows ureg users not to worry about which index to choose. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
91e8f2b0a58c1f5a00f447f60213e9ec2f5b6e6e |
|
02-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove dead code from mesa_to_tgsi These aren't part of ARB_fragment_program. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
3eedb633710733b38f612bdd5b2b490a7f854c9e |
|
04-Oct-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove old emulation for VS and FS variants Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
1fa6c99e24890359e9cee2a9da02f21ea77b9f15 |
|
10-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
tgsi/ureg: add support for GS input array declarations
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
3b1d15775190945b1a639dd9b2581b4032cd2ac6 |
|
10-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
tgsi/ureg: rename and simplify ureg_DECL_gs_input There is nothing special about it and it's used for tessellation shaders too.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
ef3f89e53e76332ddb300b08f4698347e17d1633 |
|
02-Jun-2015 |
Matt Turner <mattst88@gmail.com> |
program: Shrink and rename SaturateMode field to Saturate. It was 2 bits to accommodate SATURATE_PLUS_MINUS_ONE (removed by commit 09b566e1). A similar change was made to TGSI recently in commit e1c4e8aa. Reducing the size from 2 bits to 1 reduces the size of the bit fields from 17 bits to 16, which is a much nicer number. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
50cb780f7f90ffc4018f41502a472604bf1677c3 |
|
07-Apr-2015 |
Marius Predut <marius.predut@intel.com> |
state_tracker: replace __FUNCTION__ with __func__ Consistently just use C99's __func__ everywhere. The patch was verified with Microsoft Visual studio 2013 redistributable package(RTM version number: 18.0.21005.1) Next MSVC versions intends to support __func__. No functional changes. Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marius Predut <marius.predut@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
2f0143ca968d739e8b9cefb213ac61402a7f6587 |
|
28-Feb-2015 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace Elements() with ARRAY_SIZE() Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
94746cadc04c23add7750b446865b88297ff0a46 |
|
21-Feb-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: inline st_free_tokens Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
5b01512df3328711968dea7240ae817721c79774 |
|
11-Jan-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: don't set vs.key.clamp_color if a shader doesn't write any colors And update some comments.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
48f1409c3bf392f4b277eb6ecaf64e68e314e259 |
|
09-Nov-2014 |
Marek Olšák <marek.olsak@amd.com> |
tgsi/ureg: simplify code for declaring properties Tested-by: Nick Sarnie <commendsarnex@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
21ef7f58e382f7a179570d157d6bb7c1241a7afe |
|
19-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/st: Only one copy of mesa_sysval_to_semantic Future patches will necessitate changes to the table, and I only want to update one. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
877128505431adaf817dc8069172ebe4a1cdf5d8 |
|
17-Jan-2014 |
José Fonseca <jfonseca@vmware.com> |
s/Tungsten Graphics/VMware/ Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/alanh@tungstengraphics.com/alanh@vmware.com/ s/jens@tungstengraphics.com/jowen@vmware.com/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g s/keithw\?@tungstengraphics.com/keithw@vmware.com/g s/michel@tungstengraphics.com/daenzer@vmware.com/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/zack@tungstengraphics.com/zackr@vmware.com/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
84732a982c3eeaca2e2809532c8422dc5f7045c1 |
|
08-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array. These are replaced with ctx->Const.Program[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In patches to follow, this will allow us to replace a lot of ad-hoc logic with a variable index into the array. With the exception of the changes to mtypes.h, this patch was generated entirely by the command: find src -type f '(' -iname '*.c' -o -iname '*.cpp' -o -iname '*.py' \ -o -iname '*.y' ')' -print0 | xargs -0 sed -i \ -e 's/Const\.VertexProgram/Const.Program[MESA_SHADER_VERTEX]/g' \ -e 's/Const\.GeometryProgram/Const.Program[MESA_SHADER_GEOMETRY]/g' \ -e 's/Const\.FragmentProgram/Const.Program[MESA_SHADER_FRAGMENT]/g' Suggested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
aad2511c6d082aecfe8da0c3e61e2e678c84f7dd |
|
21-Nov-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: simplify writemask for emitting fog result Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
2d5f21ba650cb85ffea0ed6f41ee0d1e6fe5a29a |
|
20-Nov-2013 |
José Fonseca <jfonseca@vmware.com> |
gallium: Make TGSI_SEMANTIC_FOG register four-component wide. D3D9 Shader Model 2 restricted the fog register to one component, http://msdn.microsoft.com/en-us/library/windows/desktop/bb172945.aspx , but that restriction no longer exists in Shader Model 3, and several WHCK tests enforce that. So this change: - lifts the single-component restriction TGSI_SEMANTIC_FOG from Gallium interface - updates the Mesa state tracker to enforce output fog has (f, 0, 0, 1) - draw module was updated to leave TGSI_SEMANTIC_FOG output registers alone Several gallium drivers that are going out of their way to clear TGSI_SEMANTIC_FOG components could be simplified in the future. Thanks to Si Chen and Michal Krol for identifying the problem. Testing done: piglit fogcoord-*.vpfp tests Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
bb1f0969756fbb827c4b2520c632daa15342b064 |
|
13-Nov-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove PROGRAM_ENV_PARAM enum. This has been replaced with referring to env parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
33b0455211019988fe418cca5dfac62c7902c861 |
|
13-Nov-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove PROGRAM_LOCAL_PARAM enum. This has been replaced with referring to local parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
0d441aac3d28e58b54b25a6dcd4c4cb086f9725d |
|
30-Sep-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix comment typo
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
00cd455bd50c6b16b2f72a6d2726de3d3818c7f5 |
|
11-Jul-2013 |
Zack Rusin <zackr@vmware.com> |
gallium: fixup definitions of the rsq and sqrt GLSL spec says that rsq is undefined for src<=0, but the D3D10 spec says it needs to be a NaN, so lets stop taking an absolute value of the source which completely breaks that behavior. For the gl program we can simply insert an extra abs instrunction which produces the desired behavior there. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
46205ab8cc03cbda6bbc0c958e277f972973ebfe |
|
12-Jul-2013 |
Brian Paul <brianp@vmware.com> |
tgsi: rename the TGSI fragment kill opcodes TGSI_OPCODE_KIL and KILP had confusing names. The former was conditional kill (if any src component < 0). The later was unconditional kill. At one time KILP was supposed to work with NV-style condition codes/predicates but we never had that in TGSI. This patch renames both opcodes: TGSI_OPCODE_KIL -> KILL_IF (kill if src.xyzw < 0) TGSI_OPCODE_KILP -> KILL (unconditional kill) Note: I didn't just transpose the opcode names to help ensure that I didn't miss updating any code anywhere. I believe I've updated all the relevant code and comments but I'm not 100% sure that some drivers had this right in the first place. For example, the radeon driver might have llvm.AMDGPU.kill and llvm.AMDGPU.kilp mixed up. Driver authors should review their code. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
5e78433eec94fcaa87bdcb2526ec0910a69ed347 |
|
02-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: move max texture image unit constants to gl_program_constants Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits etc. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
9a32203e1618486e87c7baf494134e05f0e38cf3 |
|
14-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused opcodes AND, DP2A, NOT, NRM3, NRM4, OR, PRINT, XOR Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
50b3fc6204a28881f625605f988cb0866ae6a6a5 |
|
17-Apr-2013 |
José Fonseca <jfonseca@vmware.com> |
gallium: Disambiguate TGSI_OPCODE_IF. TGSI_OPCODE_IF condition had two possible interpretations: - src.x != 0.0f - Mesa statetracker when PIPE_SHADER_CAP_INTEGERS was false either for vertex and fragment shaders - gallivm/llvmpipe - postprocess - vl state tracker - vega state tracker - most old drivers - old internal state trackers - many graw examples - src.x != 0U - Mesa statetracker when PIPE_SHADER_CAP_INTEGERS was true for both vertex and fragment shaders - tgsi_exec/softpipe - r600 - radeonsi - nv50 And drivers that use draw module also were a mess (because Mesa would emit float IFs, but draw module supports native integers so it would interpret IF arg as integers...) This sort of works if the source argument is limited to float +0.0f or +1.0f, integer 0, but would fail if source is float -0.0f, or integer in the float NaN range. It could also fail if source is integer 1, and hardware flushes denormalized numbers to zero. But with this change there are now two opcodes, IF and UIF, with clear meaning. Drivers that do not support native integers do not need to worry about UIF. However, for backwards compatibility with old state trackers and examples, it is advisable that native integer capable drivers also support the float IF opcode. I tried to implement this for r600 and radeonsi based on the surrounding code. I couldn't do this for nouveau, so I just shunted IF/UIF together, which matches the current behavior. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> v2: - Incorporate Roland's feedback. - Fix r600_shader.c merge conflict. - Fix typo in radeon, spotted by Michel Dänzer. - Incorporte Christoph Bumiller's patch to handle TGSI_OPCODE_IF(float) properly in nv50/ir.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
f152da6bf990c330108da25972f28e08b2f233aa |
|
03-Mar-2013 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add support for ARB_texture_multisample (v3) This adds support to the mesa state tracker for ARB_texture_multisample. hardware doesn't seem to use a different texture instructions, so I don't think we need to create one for TGSI at this time. Thanks to Marek for fixes to sample number picking. v2: idr pointed out a bug in how we picked the max sample counts, use new internal format chooser interface to pick proper answers. v3: use st_choose_format directly, it was okay, fix anding of masks. Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
eed6baf7621fa94e7888f8079b155fc67a08540c |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_frag_attrib enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_frag_attrib -> gl_varying_slot FRAG_ATTRIB_* -> VARYING_SLOT_* FRAG_BIT_* -> VARYING_BIT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
a6d807c86f9972335048ad21c33277385eec08e8 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_geom_result enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_geom_result -> gl_varying_slot GEOM_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
36b252e94724b2512ea941eff2b3a3abeb80be79 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_vert_result enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_vert_result -> gl_varying_slot VERT_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
915efe7f07a370827be9872fbf93cf9fc304ba24 |
|
06-Dec-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add texture buffer object support to state tracker (v1.1) This adds the necessary changes to the st to allow texture buffer object support if the driver advertises it. v1.1: remove extra blank line and whitespace Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
8c0ccce30038f5d28e74f7f4b5b5c0bbd8ac6dbe |
|
03-Nov-2012 |
Dave Airlie <airlied@gmail.com> |
st/mesa: add support for ARB_texture_cube_map_array (v2) This adds mesa state tracker support for the new extension, along with glsl->tgsi conversion to use the new opcodes where appropriate. v2: fix assert found running textureSize tests. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
65faedb0d92e1bef8c79f5d8d233ecb83a148b0a |
|
16-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove PROG_EMIT_VERTEX and PROG_END_PRIMITIVE opcodes. These were only used for geometry shader support back in the days before the new GLSL compiler. Future geometry shader support will not use these. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
11070105f0b5ad20f12bb40a8dd0b357924bcfdd |
|
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.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
bb93439873e0f270383d8a802eec79807d32c10a |
|
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.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
5bb6f15f79a58e145817edf4894d53402ebdd5ba |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
st/mesa: Remove the PROG_PARAM_BIT_CYL_WRAP flag. [v2] Nobody ever set the flag, which makes this dead code. v2: Leave the ureg_DECL_fs_input_cyl function in place, even though it's unused, since VMWare uses it for their internal projects. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
8d418d16165624a59b2049d4097b4ab0dc82ffa9 |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove support for named parameters. These were only part of NV_fragment_program, so we can kill them. The fact that PROGRAM_NAMED_PARAM appears in r200_vertprog.c is rather comedic, but also demonstrates that people just spam the various types of parameters everywhere because they're confusing. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
df3721fd2e10ef27ce12a0c1025c9770137fa8f7 |
|
15-Oct-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove OPCODE_BRA switch case
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
1aa8ad8b50f6bb8e7ec4911eef2518dc485b9285 |
|
09-Oct-2012 |
Brian Paul <brianp@vmware.com> |
Revert "st/mesa: remove unused variables to fix compile warnings" This reverts commit 810d2e167c5a507084d1865a260809b847ca3201. The pscreen variable is used in an assertion. Use "(void) pscreen;" to silence the warning.
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
810d2e167c5a507084d1865a260809b847ca3201 |
|
09-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unused variables to fix compile warnings
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
fe72a069d1fcce943f315907b4744b63158938b1 |
|
01-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: s/FREE/free/ v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_mesa_to_tgsi.c
|
43ed822a50db6b980041ddf91c16c7f8fccc4092 |
|
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.
/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
|