summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_pipeline.c
Commit message (Collapse)AuthorAgeFilesLines
* anv/pipeline: Add support for dynamic state in pipelinesJason Ekstrand2015-10-071-0/+94
|
* vk/pipeline: Emit MSAA finishme only if samples > 1Chad Versace2015-10-061-1/+2
| | | | | If samples == 1, then there's nothing for Mesa to do, and the finishme message is only noise.
* vk/0.170.2: Make destructors return voidJason Ekstrand2015-10-051-15/+5
|
* anv: Add a back-door for passing NIR shaders directly into the pipelineJason Ekstrand2015-10-021-0/+1
| | | | | This will allow us to use NIR directly for meta operations rather than having to go through SPIR-V.
* vk/pipeline_layout: Add dynamic_offset_start and has_dynamic_offsets fieldsJason Ekstrand2015-09-111-0/+7
|
* vk/pipeline_layout: Move surface/sampler start from SoA to AoSJason Ekstrand2015-09-111-2/+2
| | | | | This makes more sense to me and it's more consistent with anv_descriptor_set_layout.
* vk/gen8: Don't duplicate generic pipeline setupJason Ekstrand2015-08-251-1/+2
| | | | | | gen8_graphics_pipeline_create had a bunch of stuff in it that's already set up by anv_pipeline_init. The duplication was causing double-initialization of a state stream and made valgrind very angry.
* vk: Add gen7 supportKristian Høgsberg Kristensen2015-08-241-0/+4
| | | | | | | With all the previous commits in place, we can now drop in support for multiple platforms. First up is gen7 (Ivybridge). Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Move generic pipeline init to anv_pipeline.cKristian Høgsberg Kristensen2015-08-241-0/+105
| | | | | | This logic will be shared between multiple gens. Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Move pipeline creation to anv_gen8.cKristian Høgsberg Kristensen2015-08-241-661/+24
|
* 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.