projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7b029
)
radv: use RADV_CMD_DIRTY_DYNAMIC_* when restoring viewport/scissor
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 30 May 2019 10:29:40 +0000
(12:29 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 31 May 2019 06:50:16 +0000
(08:50 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_meta.c
b/src/amd/vulkan/radv_meta.c
index 721c703983054dc120f5f31e9e480c2da8ed8ac0..3bfe49b4dab515da9fc85586700771be3ce1cb3a 100644
(file)
--- a/
src/amd/vulkan/radv_meta.c
+++ b/
src/amd/vulkan/radv_meta.c
@@
-127,8
+127,8
@@
radv_meta_restore(const struct radv_meta_saved_state *state,
state->scissor.scissors,
MAX_SCISSORS);
- cmd_buffer->state.dirty |=
1 << VK_DYNAMIC_STATE
_VIEWPORT |
-
1 << VK_DYNAMIC_STATE
_SCISSOR;
+ cmd_buffer->state.dirty |=
RADV_CMD_DIRTY_DYNAMIC
_VIEWPORT |
+
RADV_CMD_DIRTY_DYNAMIC
_SCISSOR;
}
if (state->flags & RADV_META_SAVE_COMPUTE_PIPELINE) {