summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_pack.h
Commit message (Collapse)AuthorAgeFilesLines
* vk: Update generated headersKristian Høgsberg Kristensen2015-08-121-256/+371
| | | | | | This update brings usable IVB/HSW RENDER_SURFACE_STATE structs and adds more float fields that we previously failed to recognize.
* vk: Update generated headersKristian Høgsberg Kristensen2015-08-031-0/+5
| | | | | This adds zeroing of reserved blocks of dwords and removes an instruction definition.
* vk/headers: Update to new generated gen headersKristian Høgsberg Kristensen2015-07-291-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* vk: Pull in new generated headersKristian Høgsberg Kristensen2015-07-061-192/+192
| | | | | | | | The new headers use stdbool for enable/disable fields which implicitly converts expressions like (flags & 8) to 0 or 1. Also handles MBO (must-be-one) fields by setting them to one, corrects a bspec typo (_3DPRIM_LISTSTRIP_ADJ -> LINESTRIP) and makes a few enum values less clashy.
* vk/headers: Handle MBO fieldsKristian Høgsberg Kristensen2015-06-241-0/+9
| | | | These must be set to one.
* vk: Undo relocs for scratch bosKristian Høgsberg Kristensen2015-06-191-30/+12
|
* vk/headers: Make General State offsets relocationsKristian Høgsberg Kristensen2015-06-191-12/+30
|
* vk: Add missing gen7 RENDER_SURFACE_STATE structKristian Høgsberg Kristensen2015-06-171-0/+173
|
* vk: Use generated headers with fixed point supportKristian Høgsberg Kristensen2015-06-111-56/+56
| | | | | The generated headers now convert float in the template struct to the correct fixed point format.
* vk: Regenerate headers with __gen_validate_value()Kristian Høgsberg Kristensen2015-06-111-0/+7
|
* vk: Update generated headers with support for 64 bit fieldsKristian Høgsberg Kristensen2015-06-021-20/+4
|
* vk/pack: Generate length macros for structsKristian Høgsberg2015-05-261-0/+32
|
* vk: Update to header files with nested struct supportKristian Høgsberg2015-05-251-274/+314
| | | | This will let us do MOCS settings right.
* vk: Update generated header filesKristian Høgsberg2015-05-181-4/+4
| | | | This fixes a problem where register addresses where incorrectly shifted.
* vk: Add generated header for HSW and IVB (GEN75 and GEN7)Kristian Høgsberg2015-05-121-0/+6607