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/gallium/auxiliary/util/u_pstipple.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/gallium/auxiliary/util/u_pstipple.c
|
040f5cb09edef9b54510ca4b41c44f59a1f01fc3 |
|
06-Apr-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
util/pstipple: stronger guard against no free samplers (v2) When hasFixedUnit is false, polygon stippling will fail when there is no free sampler available. Make the corresponding guard more robust in preparation of raising PIPE_MAX_SAMPLERS to 32. The literal 1 is a (signed) int, and shifting into the sign bit is undefined in C, so change occurences of 1 to 1u. v2: add an assert for bitfield size and use 1u << idx Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> (v1) Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (v1) Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
63e020d734faa224dae576e2883ef39d8827fcad |
|
18-Mar-2016 |
Brian Paul <brianp@vmware.com> |
gallium/tgsi: pass TGSI tex target to tgsi_transform_tex_inst() Instead of hard-coded 2D tex target in tgsi_transform_tex_2d_inst() Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
c260175677c20ed4f11a6679c45391783d07aaeb |
|
21-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
draw: use util_pstipple_* function for stipple pattern textures and samplers This reduces code duplication. Suggested-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
e6281a285012d76cf60fb8639838c369cf4d438f |
|
15-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
util/u_pstipple.c: copy immediates during transformation Apparently, nobody has combined stippling with a fragment shader containing immediates in almost five years... Fixes a bug in Kodi with radeonsi reported by Christian König. Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org> Tested-by: Christian König <christian.koenig@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
69f43c2cc903d5973bab2515be51465c9e8f9f9e |
|
07-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
util/pstipple: allow fragment shader POSITION to be a system value Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
bd883c90708207c6848b7f7b263ce1ef4e6a475b |
|
02-Sep-2015 |
Brian Paul <brianp@vmware.com> |
tgsi: add negate parameter to tgsi_transform_kill_inst() Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
e53699298640df7d7659a8ce88b68e43918b600c |
|
11-Jun-2015 |
Rob Clark <robclark@freedesktop.org> |
util/pstipple: updates for SVIEW decls To allow for shaders which use SVIEW decls for TEX* instructions, we need to preserve the constraint that the shader either has no SVIEW's or it has one matching SVIEW for each SAMP. Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
8fc542aa8904339c52a4aec0ebaf42f498ba6ae8 |
|
31-Jan-2015 |
Marek Olšák <marek.olsak@amd.com> |
gallium/u_pstipple: add ability to specify a fixed texture unit E.g. r600g can use slot 17, which is outside of the API range. Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
c996b22329c377ac72b5378ee2745ea414a1aefa |
|
31-Oct-2014 |
Brian Paul <brianp@vmware.com> |
util: simplify u_pstipple.c code Use the new helper functions in the tgsi_transform.h file to emit declarations and instructions. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
55008ef6976de2e3f04ac92a33f7a4a4acafeaea |
|
31-Oct-2014 |
Brian Paul <brianp@vmware.com> |
util: simplify temp register selection in u_pstipple.c Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
ccd1ea9d52bc7fd11d9f05dc23ae7289fd0b9a99 |
|
31-Oct-2014 |
Brian Paul <brianp@vmware.com> |
util: simplify util_pstipple_create_fragment_shader() params Pass and return tgsi_token buffers instead of pipe_shader_state. And update softpipe driver (the only user of this function). Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
0c4bc1e29223ffec4617999c0c03d722bdcc170a |
|
02-Oct-2014 |
Marek Olšák <marek.olsak@amd.com> |
tgsi: change tgsi_shader_info::properties to a one-dimensional array Reviewed-by: Roland Scheidegger <sroland@vmware.com> v2: fix svga too
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
8908fae243cb4c15a675006a1cc472f6c59b0d43 |
|
30-Sep-2014 |
Marek Olšák <marek.olsak@amd.com> |
tgsi: simplify shader properties in tgsi_shader_info Use an array of properties indexed by TGSI_PROPERTY_* definitions.
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.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/gallium/auxiliary/util/u_pstipple.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/gallium/auxiliary/util/u_pstipple.c
|
369e46888904c6d379b8b477d9242cff1608e30e |
|
08-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: unify transfer functions "get_transfer + transfer_map" becomes "transfer_map". "transfer_unmap + transfer_destroy" becomes "transfer_unmap". transfer_map must create and return the transfer object and transfer_unmap must destroy it. transfer_map is successful if the returned buffer pointer is not NULL. If transfer_map fails, the pointer to the transfer object remains unchanged (i.e. doesn't have to be NULL). Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
1279923d72942ee201fcc6ad40d552143f651f03 |
|
30-Apr-2012 |
Francisco Jerez <currojerez@riseup.net> |
gallium/tgsi: Move interpolation info from tgsi_declaration to a separate token. Move Interpolate, Centroid and CylindricalWrap from tgsi_declaration to a separate token -- they only make sense for FS inputs and we need room for other flags in the top-level declaration token.
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
3dde6be908d827f4d6d54e0968ae83c2c4dfa87c |
|
21-Jul-2011 |
Brian Paul <brianp@vmware.com> |
util: assorted updates to polygon stipple helper
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|
7dcf019af2e76a4c6e0391c3c5e1d50966367df8 |
|
10-Mar-2011 |
Brian Paul <brianp@vmware.com> |
gallium/util: new polygon stipple utility helper The polygon stipple fallback does not have to be implemented in the draw module (it doesn't need window coords, etc). Drivers can use this utility and avoid sw vertex fallbacks if pstipple is enabled. Note: this is WIP and not used by any driver yet.
/external/mesa3d/src/gallium/auxiliary/util/u_pstipple.c
|