Lines Matching refs:semantics
2294 SpvMemorySemanticsMask semantics,
2298 /* For memory semantics embedded in operations, we split them into up to
2312 semantics & (SpvMemorySemanticsAcquireMask |
2322 vtn_warn("Multiple memory ordering semantics specified, "
2328 semantics & (SpvMemorySemanticsMakeAvailableMask |
2332 semantics & (SpvMemorySemanticsUniformMemoryMask |
2341 semantics & ~(order_semantics | av_vis_semantics | storage_semantics |
2345 vtn_warn("Ignoring unhandled memory semantics: %u\n", other_semantics);
2351 * semantics will not be reordered after the Store.
2360 * associated with a Load. All the operations with a matching semantics
2378 SpvMemorySemanticsMask semantics)
2383 semantics & (SpvMemorySemanticsAcquireMask |
2393 vtn_warn("Multiple memory ordering semantics bits specified, "
2418 unreachable("Invalid memory order semantics");
2421 if (semantics & SpvMemorySemanticsMakeAvailableMask) {
2423 "To use MakeAvailable memory semantics the VulkanMemoryModel "
2428 if (semantics & SpvMemorySemanticsMakeVisibleMask) {
2430 "To use MakeVisible memory semantics the VulkanMemoryModel "
2440 SpvMemorySemanticsMask semantics)
2446 semantics &= ~(SpvMemorySemanticsSubgroupMemoryMask |
2452 if (semantics & SpvMemorySemanticsUniformMemoryMask) {
2458 if (semantics & SpvMemorySemanticsImageMemoryMask)
2460 if (semantics & SpvMemorySemanticsWorkgroupMemoryMask)
2462 if (semantics & SpvMemorySemanticsCrossWorkgroupMemoryMask)
2464 if (semantics & SpvMemorySemanticsOutputMemoryMask) {
2521 SpvMemorySemanticsMask semantics)
2524 vtn_mem_semantics_to_nir_mem_semantics(b, semantics);
2525 nir_variable_mode modes = vtn_mem_semantics_to_nir_var_modes(b, semantics);
2528 /* Memory semantics is optional for OpControlBarrier. */
2541 SpvMemorySemanticsMask semantics)
2543 nir_variable_mode modes = vtn_mem_semantics_to_nir_var_modes(b, semantics);
2545 vtn_mem_semantics_to_nir_mem_semantics(b, semantics);
3239 SpvMemorySemanticsMask semantics = 0;
3267 semantics = vtn_constant_uint(b, w[5]);
3275 semantics = vtn_constant_uint(b, w[3]);
3326 semantics = SpvMemorySemanticsMakeVisibleMask;
3368 semantics = SpvMemorySemanticsMakeAvailableMask;
3392 if (semantics & SpvMemorySemanticsVolatileMask)
3536 /* Image operations implicitly have the Image storage memory semantics. */
3537 semantics |= SpvMemorySemanticsImageMemoryMask;
3541 vtn_split_barrier_semantics(b, semantics, &before_semantics, &after_semantics);
3679 SpvMemorySemanticsMask semantics = 0;
3704 semantics = vtn_constant_uint(b, w[5]);
3710 semantics = vtn_constant_uint(b, w[3]);
3717 if (semantics & SpvMemorySemanticsVolatileMask)
3817 semantics |= vtn_mode_to_memory_semantics(ptr->mode);
3821 vtn_split_barrier_semantics(b, semantics, &before_semantics, &after_semantics);
4121 SpvMemorySemanticsMask semantics)
4124 vtn_emit_scoped_memory_barrier(b, scope, semantics);
4136 if (!(semantics & all_memory_semantics))
4156 if (util_bitcount(semantics & all_memory_semantics) > 1) {
4158 if (semantics & SpvMemorySemanticsOutputMemoryMask) {
4171 switch (semantics & all_memory_semantics) {
4223 SpvMemorySemanticsMask semantics = vtn_constant_uint(b, w[2]);
4224 vtn_emit_memory_barrier(b, scope, semantics);
4234 * memory semantics of None for GLSL barrier().
6327 * to provide correct memory semantics on compute shader barrier()
6493 * discard/clip, which uses demote semantics. DirectXShaderCompiler will use