summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_pipeline.c
Commit message (Collapse)AuthorAgeFilesLines
* vk/batch: Make relocs a pointer to a relocation listJason Ekstrand2015-07-291-3/+5
| | | | | | Previously anv_batch.relocs was an actual relocation list. However, this is limiting if the implementation of the batch wants to change the relocation list as the batch progresses.
* vk/headers: Update to new generated gen headersKristian Høgsberg Kristensen2015-07-291-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/pipeline: Be more sloppy about shader entrypoint namesJason Ekstrand2015-07-221-3/+4
| | | | | | The CTS passes in NULL names right now. It's not too hard to support that as just "main". With this, and a patch to vulkancts, we now pass all 6 tests.
* vk: Prefix most filenames with anvChad Versace2015-07-171-0/+950
Jason started the task by creating anv_cmd_buffer.c and anv_cmd_emit.c. This patch finishes the task by renaming all other files except gen*_pack.h and glsl_scraper.py.