Home
last modified time | relevance | path

Searched refs:nir_semantics (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c2260 nir_memory_semantics nir_semantics = 0; in vtn_mem_semantics_to_nir_mem_semantics() local
2284 nir_semantics = NIR_MEMORY_ACQUIRE; in vtn_mem_semantics_to_nir_mem_semantics()
2288 nir_semantics = NIR_MEMORY_RELEASE; in vtn_mem_semantics_to_nir_mem_semantics()
2294 nir_semantics = NIR_MEMORY_ACQUIRE | NIR_MEMORY_RELEASE; in vtn_mem_semantics_to_nir_mem_semantics()
2305 nir_semantics |= NIR_MEMORY_MAKE_AVAILABLE; in vtn_mem_semantics_to_nir_mem_semantics()
2312 nir_semantics |= NIR_MEMORY_MAKE_VISIBLE; in vtn_mem_semantics_to_nir_mem_semantics()
2315 return nir_semantics; in vtn_mem_semantics_to_nir_mem_semantics()
2399 nir_memory_semantics nir_semantics = in vtn_emit_scoped_control_barrier() local
2406 if (nir_semantics == 0 || modes == 0) in vtn_emit_scoped_control_barrier()
2411 nir_scoped_barrier(&b->nb, nir_exec_scope, nir_mem_scope, nir_semantics, modes); in vtn_emit_scoped_control_barrier()
[all …]
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp6671 unsigned nir_semantics = nir_intrinsic_memory_semantics(instr); in emit_scoped_barrier() local
6672 if (nir_semantics & NIR_MEMORY_ACQUIRE) in emit_scoped_barrier()
6674 if (nir_semantics & NIR_MEMORY_RELEASE) in emit_scoped_barrier()
6677 assert(!(nir_semantics & (NIR_MEMORY_MAKE_AVAILABLE | NIR_MEMORY_MAKE_VISIBLE))); in emit_scoped_barrier()