diff options
author | Jason Ekstrand <[email protected]> | 2014-12-05 14:46:24 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:21 -0800 |
commit | 62ac0ee804027d1a1fa9864e03428ced7bd8510a (patch) | |
tree | f9b48046395fac7f300f21bc94fa743abd37c305 /src/mesa | |
parent | 534d145e5ea039d57833395a36eed90721f6b272 (diff) |
nir/tex_instr: Rename the indirect source type and add an array size
In particular, we rename nir_tex_src_sampler_index to _sampler_offset and
add a sampler_array_size field to nir_tex_instr. This way we can pass the
size of sampler arrays through to backends even after removing the variable
information and, with it, the type.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index a5360754648..1fe9fefe526 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1662,7 +1662,7 @@ fs_visitor::nir_emit_texture(nir_tex_instr *instr) break; case nir_tex_src_projector: unreachable("should be lowered"); - case nir_tex_src_sampler_index: + case nir_tex_src_sampler_offset: unreachable("not yet supported"); default: unreachable("unknown texture source"); |