Jason Ekstrand
442dff8cf4
anv/descriptor_set: Stop marking everything as having dynamic offsets
2016-02-22 17:23:29 -08:00
Kristian Høgsberg Kristensen
2570a58bcd
anv: Implement descriptor pools
...
Descriptor pools are an optimization that lets applications allocate
descriptor sets through an externally synchronized object (that is,
unlocked). In our case it's also plugging a memory leak, since we
didn't track all allocated sets and failed to free them in
vkResetDescriptorPool() and vkDestroyDescriptorPool().
2016-02-22 17:13:51 -08:00
Kristian Høgsberg Kristensen
353d5bf286
anv/x11: Free swapchain images and memory on destroy
2016-02-22 16:23:47 -08:00
Mark Janes
08b408311c
vulkan: fix out-of-tree builds
2016-02-22 11:31:15 -08:00
Nanley Chery
7b2c63a53c
anv/meta_blit: Handle compressed textures in anv_CmdCopyImage
...
As with anv_CmdCopyBufferToImage, compressed textures require special
handling during copies.
Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2016-02-22 09:04:28 -08:00
Jason Ekstrand
f1dddeadc2
anv: Fix a typo in apply_dynamic_offsets
...
shader->num_uniforms is in terms of bytes in i965.
2016-02-20 21:24:31 -08:00
Jason Ekstrand
b5868d2343
anv: Zero out the WSI array when initializing the instance
2016-02-20 19:30:14 -08:00
Jason Ekstrand
1f1cf6fcb0
anv: Get rid of GENX_FUNC
...
It was a bad idea.
2016-02-20 09:12:38 -08:00
Jason Ekstrand
371b4a5b33
anv: Switch over to the macros in genxml
2016-02-20 09:09:28 -08:00
Jason Ekstrand
698ea54283
anv/pipeline: Fix a typo in the pipeline layout code
2016-02-18 13:55:57 -08:00
Jason Ekstrand
d5bb23156d
anv/allocator: Set is_winsys_bo to false for block pool BOs
2016-02-18 13:55:57 -08:00
Mark Janes
1b37276467
vulkan: fix out-of-tree build
...
We need to be able to find the generated gen*pack.h headers.
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
2016-02-18 12:30:27 -08:00
Jason Ekstrand
e0565f40ea
anv/pipeline: Use nir's num_images for allocating image_params
2016-02-18 11:44:26 -08:00
Jason Ekstrand
e881c73975
anv/pipeline: Don't leak the binding map
2016-02-18 11:09:30 -08:00
Jason Ekstrand
8c23392c26
anv/formats: Don't use a compound literal to initialize a const array
...
Doing so makes older versions of GCC rather grumpy. Newere GCC fixes this,
but using a compound literal isn't really gaining us anything anyway.
2016-02-18 10:44:08 -08:00
Jason Ekstrand
9851c8285f
Move the intel vulkan driver to src/intel/vulkan
2016-02-18 10:37:59 -08:00