diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-06-18 09:17:01 -0500 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2021-06-21 09:03:34 -0500 |
commit | f0f713960b17328712c84dde539a76b22a8bf38b (patch) | |
tree | c41576d19dc65a1d6a718a4ae3a215f6c983c60c /src/gallium | |
parent | e5510536e76e65e8a4f089a8d7acb093de853173 (diff) |
nir,amd: Suffix nir_op_cube_face_coord/index with _amd
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11463>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_nir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index f144f39b083..d932c9f11f7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -997,8 +997,8 @@ static void visit_alu(struct lp_build_nir_context *bld_base, const nir_alu_instr case nir_op_unpack_half_2x16: src_components = 1; break; - case nir_op_cube_face_coord: - case nir_op_cube_face_index: + case nir_op_cube_face_coord_amd: + case nir_op_cube_face_index_amd: src_components = 3; break; case nir_op_fsum2: |