projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc2cce
)
vk/cmd_buffer: Set the CONSTANTS_REL_GENERAL flag on execbuf
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 27 Aug 2015 00:56:40 +0000
(17:56 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 27 Aug 2015 17:25:58 +0000
(10:25 -0700)
This tells the kernel that the push constant buffers are relative to the
dynamic state base address.
src/vulkan/anv_batch_chain.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_batch_chain.c
b/src/vulkan/anv_batch_chain.c
index af90fb7ae214fb18938a921f5c2af39fc092bfa4..77a5bd6f9ece2a71469ec21bf84a24f0467ea9eb 100644
(file)
--- a/
src/vulkan/anv_batch_chain.c
+++ b/
src/vulkan/anv_batch_chain.c
@@
-928,7
+928,8
@@
anv_cmd_buffer_prepare_execbuf(struct anv_cmd_buffer *cmd_buffer)
.num_cliprects = 0,
.DR1 = 0,
.DR4 = 0,
- .flags = I915_EXEC_HANDLE_LUT | I915_EXEC_RENDER,
+ .flags = I915_EXEC_HANDLE_LUT | I915_EXEC_RENDER |
+ I915_EXEC_CONSTANTS_REL_GENERAL,
.rsvd1 = cmd_buffer->device->context_id,
.rsvd2 = 0,
};