projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e10f7
)
nir: More manual formatting
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Tue, 8 Aug 2023 16:23:19 +0000
(11:23 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Sat, 12 Aug 2023 19:27:28 +0000
(19:27 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24382>
src/compiler/nir/nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir.c
b/src/compiler/nir/nir.c
index
c3d554f
..
af32609
100644
(file)
--- a/
src/compiler/nir/nir.c
+++ b/
src/compiler/nir/nir.c
@@
-2864,6
+2864,7
@@
nir_get_glsl_base_type_for_nir_type(nir_alu_type base_type)
nir_op
nir_op_vec(unsigned components)
{
+ /* clang-format off */
switch (components) {
case 1: return nir_op_mov;
case 2: return nir_op_vec2;
@@
-2874,6
+2875,7
@@
nir_op_vec(unsigned components)
case 16: return nir_op_vec16;
default: unreachable("bad component count");
}
+ /* clang-format on */
}
bool