Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit d3825d1

Browse files
committed
Copy set_event to synchronization2_set_event
1 parent 92bd76a commit d3825d1

File tree

5 files changed

+520
-0
lines changed

5 files changed

+520
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2017 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
add_shader_library(set_event_shaders
16+
SOURCES
17+
set_event.frag
18+
set_event.vert
19+
SHADER_DEPS
20+
shader_library
21+
)
22+
23+
add_vulkan_sample_application(set_event
24+
SOURCES main.cpp
25+
LIBS
26+
vulkan_helpers
27+
MODELS
28+
standard_models
29+
SHADERS
30+
set_event_shaders
31+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Set Event
2+
3+
This sample uses `VkEvent` and calls `vkSetEvent` and `vkCmdWaitEvents` to
4+
synchronize between host and device, to pass RGBA data for rendering.

0 commit comments

Comments
 (0)