diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-01 21:12:48 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-24 10:14:56 -0700 |
commit | 29921ee987d8f2cc315c846dea958ab19b986ecd (patch) | |
tree | eab66cf34ea8b0c0588141014edb032edf17068b /src/compiler/nir/nir.h | |
parent | 39b7b8b90631a661166906f70879f6f6e11bc591 (diff) |
nir: Add new 'plane' texture source type
This will be used to select the plane to sample from for planar
textures.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 78913d30deb..ace6fbbb487 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1074,6 +1074,7 @@ typedef enum { nir_tex_src_ddy, nir_tex_src_texture_offset, /* < dynamically uniform indirect offset */ nir_tex_src_sampler_offset, /* < dynamically uniform indirect offset */ + nir_tex_src_plane, /* < selects plane for planar textures */ nir_num_tex_src_types } nir_tex_src_type; |