diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-07-28 16:32:52 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-07-29 11:02:33 -0700 |
commit | fcea3e2d23b7a02f9cc4b58870ac59107bcf0050 (patch) | |
tree | 402ffe1b23c110aaa0b966230b9afb5f54740304 /src/vulkan/anv_cmd_buffer.c | |
parent | 65f3d00cd6abb3ac1dec10808fbd1be693a3aaa3 (diff) |
vk/headers: Update to new generated gen headers
This update fixes cases where a 48-bit address field was split into
two parts:
__gen_address_type MemoryAddress;
uint32_t MemoryAddressHigh;
which cases this pack code to be generated:
dw[1] =
__gen_combine_address(data, &dw[1], values->MemoryAddress, dw1);
dw[2] =
__gen_field(values->MemoryAddressHigh, 0, 15) |
0;
which breaks for addresses above 4G.
This update also fixes arrays of structs in commands and structs, for
example, we now have:
struct GEN8_BLEND_STATE_ENTRY Entry[8];
and the pack functions now write all dwords in the packet, making
valgrind happy.
Finally, we would try to pack 64 bits of blend state into a uint32_t -
that's also fixed now.
Diffstat (limited to 'src/vulkan/anv_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions