diff options
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f9c2adb83e5..2c1caf2687a 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1482,6 +1482,9 @@ typedef struct { /* gather component selector */ unsigned component : 2; + /* gather offsets */ + int8_t tg4_offsets[4][2]; + /** The texture index * * If this texture instruction has a nir_tex_src_texture_offset source, @@ -1699,6 +1702,8 @@ void nir_tex_instr_add_src(nir_tex_instr *tex, void nir_tex_instr_remove_src(nir_tex_instr *tex, unsigned src_idx); +bool nir_tex_instr_has_explicit_tg4_offsets(nir_tex_instr *tex); + typedef struct { nir_instr instr; |