mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 22:00:11 +01:00
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.
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| anv_allocator.c | ||
| anv_aub.c | ||
| anv_aub.h | ||
| anv_cmd_buffer.c | ||
| anv_cmd_emit.c | ||
| anv_compiler.cpp | ||
| anv_device.c | ||
| anv_entrypoints_gen.py | ||
| anv_formats.c | ||
| anv_gem.c | ||
| anv_image.c | ||
| anv_intel.c | ||
| anv_meta.c | ||
| anv_pipeline.c | ||
| anv_private.h | ||
| anv_query.c | ||
| anv_util.c | ||
| anv_x11.c | ||
| gen7_pack.h | ||
| gen8_pack.h | ||
| gen75_pack.h | ||
| glsl_scraper.py | ||
| Makefile.am | ||