projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84086b6
)
intel/fs: Use the correct logical op for global float atomics
author
Jason Ekstrand
<jason@jlekstrand.net>
Tue, 14 Jul 2020 19:40:35 +0000
(14:40 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 21 Jul 2020 05:01:34 +0000
(
05:01
+0000)
Fixes: e644ed468f98 "intel/fs: Implement nir_intrinsic_global_atomic_*"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5992>
src/intel/compiler/brw_fs_nir.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_fs_nir.cpp
b/src/intel/compiler/brw_fs_nir.cpp
index f188d8989235c7359ecd74203d3d5aadd5fb11ad..15df3dc77634b82999bd21652b024a5aa555a26b 100644
(file)
--- a/
src/intel/compiler/brw_fs_nir.cpp
+++ b/
src/intel/compiler/brw_fs_nir.cpp
@@
-5477,7
+5477,7
@@
fs_visitor::nir_emit_global_atomic_float(const fs_builder &bld,
data = tmp;
}
- bld.emit(SHADER_OPCODE_A64_UNTYPED_ATOMIC_LOGICAL,
+ bld.emit(SHADER_OPCODE_A64_UNTYPED_ATOMIC_
FLOAT_
LOGICAL,
dest, addr, data, brw_imm_ud(op));
}