diff options
author | Jason Ekstrand <[email protected]> | 2014-12-05 11:03:06 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:21 -0800 |
commit | cd4b995254fe29bae9ab5a9563cc615274d361ed (patch) | |
tree | 4969c948b76d97529963ecac138a8d6d95e07d21 /src/glsl/nir/nir_validate.c | |
parent | d6fe35a418426c811398a32b9aeacf7410f6352d (diff) |
nir: Make texture instruction names more consistent
This commit renames nir_instr_as_texture to nir_instr_as_tex and renames
nir_instr_type_texture to nir_instr_type_tex to be consistent with
nir_tex_instr.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_validate.c')
-rw-r--r-- | src/glsl/nir/nir_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_validate.c b/src/glsl/nir/nir_validate.c index e10f38bc6eb..937cbb9bf6e 100644 --- a/src/glsl/nir/nir_validate.c +++ b/src/glsl/nir/nir_validate.c @@ -473,8 +473,8 @@ validate_instr(nir_instr *instr, validate_state *state) validate_intrinsic_instr(nir_instr_as_intrinsic(instr), state); break; - case nir_instr_type_texture: - validate_tex_instr(nir_instr_as_texture(instr), state); + case nir_instr_type_tex: + validate_tex_instr(nir_instr_as_tex(instr), state); break; case nir_instr_type_load_const: |