Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GameDevWeek
D
Dependencies
Cpp
mirrage
Commits
e4f5314a
Commit
e4f5314a
authored
Sep 21, 2019
by
Florian Oetke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed wait_idle in renderer
parent
c63bd245
Pipeline
#3378
passed with stage
in 13 minutes and 49 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
src/mirrage/graphic/src/context.cpp
src/mirrage/graphic/src/context.cpp
+1
-1
src/mirrage/renderer/src/pass/deferred_lighting_subpass.cpp
src/mirrage/renderer/src/pass/deferred_lighting_subpass.cpp
+0
-2
No files found.
src/mirrage/graphic/src/context.cpp
View file @
e4f5314a
...
...
@@ -515,7 +515,7 @@ namespace mirrage::graphic {
sc_info
.
setImageUsage
(
vk
::
ImageUsageFlagBits
::
eColorAttachment
|
vk
::
ImageUsageFlagBits
::
eTransferDst
);
sc_info
.
setImageArrayLayers
(
1
);
sc_info
.
setMinImageCount
(
std
::
max
(
3
u
,
capabilities
.
minImageCount
));
sc_info
.
setMinImageCount
(
std
::
max
(
2
u
,
capabilities
.
minImageCount
));
if
(
capabilities
.
maxImageCount
>
0
&&
capabilities
.
maxImageCount
<
sc_info
.
minImageCount
)
{
sc_info
.
setMinImageCount
(
capabilities
.
maxImageCount
);
}
...
...
src/mirrage/renderer/src/pass/deferred_lighting_subpass.cpp
View file @
e4f5314a
...
...
@@ -216,8 +216,6 @@ namespace mirrage::renderer {
return
;
}
_renderer
.
device
().
wait_idle
();
// point light
if
(
_point_light_mesh
.
ready
())
{
auto
first_point_light
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment