diff options
author | Joe M. Kniss <[email protected]> | 2018-06-20 17:55:10 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-06-29 11:11:54 +1000 |
commit | 70425bcfe63c4e9191809659d019ec4af923595d (patch) | |
tree | 3993a5978c655b0a1bed9ce71447ded2fb16276c /src/gallium/auxiliary/tgsi/tgsi_strings.h | |
parent | c2c803be7bfb857b6846390d2aae7523319ac58e (diff) |
gallium: plumb invariant output attrib thru TGSI
Add support for glsl 'invariant' modifier for output data declarations.
Gallium drivers that use TGSI serialization currently loose invariant
modifiers in glsl shaders.
v2: use boolean for invariant instead of unsigned.
Tested: chromiumos on qemu with virglrenderer.
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_strings.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_strings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.h b/src/gallium/auxiliary/tgsi/tgsi_strings.h index bb2d3458dde..20e3f7127f6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_strings.h +++ b/src/gallium/auxiliary/tgsi/tgsi_strings.h @@ -52,6 +52,8 @@ extern const char *tgsi_interpolate_names[TGSI_INTERPOLATE_COUNT]; extern const char *tgsi_interpolate_locations[TGSI_INTERPOLATE_LOC_COUNT]; +extern const char *tgsi_invariant_name; + extern const char *tgsi_primitive_names[PIPE_PRIM_MAX]; extern const char *tgsi_fs_coord_origin_names[2]; |