Jason Ekstrand
1f98bf8da0
anv: Pass an isl_format into fill_buffer_surface_state
2015-12-14 16:14:20 -08:00
Jason Ekstrand
c56186026f
anv: Add initial support for texel buffers
2015-12-12 16:11:23 -08:00
Kristian Høgsberg
dac57750db
vk: Turn on Bay Trail, Cherryview and Broxton support
2015-12-04 09:51:47 -08:00
Kristian Høgsberg Kristensen
bbb6875f35
vk: Map uncached, coherent memory as write-combine
...
This gives us the required characteristics for the memory type.
2015-12-04 09:51:47 -08:00
Kristian Høgsberg Kristensen
c3c61d210f
vk: Expose two memory types for non-LLC GPUs
...
We're required to expose a host-visible, coherent memory type. On big
core GPUs that share, LLC, we can expose one such memory type that's
also cached. However, on non-LLC GPUs we can't both be cached and
coherent. Thus, we expose both the required coherent type and the cached
but non-coherent combination.
2015-12-04 09:51:47 -08:00
Kristian Høgsberg
773592051b
vk: clflush all state for non-LLC GPUs
2015-12-04 09:51:47 -08:00
Kristian Høgsberg
e0b5f0308c
vk: Implement vkFlushMappedMemoryRanges()
...
We'll do a runtime switch on device->info.has_llc for now.
2015-12-04 09:51:47 -08:00
Jason Ekstrand
bfeaf67391
anv/device: Give a version of 0.210.1 in apiVersion
2015-12-03 15:23:33 -08:00
Jason Ekstrand
d666487dc6
vk: Add new WSI support and bump the API to 0.210.1
2015-12-03 15:15:29 -08:00
Jason Ekstrand
4c19243562
vk/0.210.0: Advertise version 0.210.0
2015-12-03 13:44:02 -08:00
Jason Ekstrand
4e904a0310
vk/0.210.0: Rework vkQueueSubmit
2015-12-03 13:44:02 -08:00
Jason Ekstrand
d689745303
vk/0.210.0: Rework device features and limits
2015-12-03 13:43:54 -08:00
Jason Ekstrand
74c4c4acb6
vk/0.210.0: Rework QueueFamilyProperties
2015-12-03 13:43:54 -08:00
Jason Ekstrand
fed3586f34
vk/0.210.0: Rework result and structure type enums
...
By and large, this is just moving enum values around. However, it also
removed VK_UNSUPPORTED which we were returning a number of places. Those
places now return VK_ERROR_INCOMPATABLE_DRIVER.
2015-12-03 13:43:54 -08:00
Jason Ekstrand
e6ab06ae7f
vk/0.210.0: Rework memory property flags
2015-12-03 13:43:54 -08:00
Jason Ekstrand
5a02441789
vk/0.210.0: Rename a parameter to GetImageSparseMemoryRequirements
2015-12-03 13:43:53 -08:00
Jason Ekstrand
a9fc0ce0e3
vk/0.210.0: Delete three no longer existant entrypoints
2015-12-03 13:43:53 -08:00
Jason Ekstrand
fcfb404a58
vk/0.210.0: Rework allocation to use the new pAllocator's
2015-12-03 13:43:53 -08:00
Jason Ekstrand
9349625d60
vk/0.210.0: Rework VkInstanceCreateInfo
2015-12-03 13:43:53 -08:00
Jason Ekstrand
6a6da54ccb
vk/0.210.0: Rename parameters to memory binding/mapping functions
2015-12-03 13:43:52 -08:00
Jason Ekstrand
aadb7dce9b
vk/0.210.0: Update to the new instance/device create structs
2015-12-03 13:43:52 -08:00
Jason Ekstrand
fd53603e42
vk/0.210.0: Misc. no-op structure changes
...
The only non-trivial change is to sparse resources that we don't handle
anyway.
2015-12-03 13:43:51 -08:00
Jason Ekstrand
fe644721aa
vk/0.210.0: Rename property pCount parameters
2015-12-03 13:43:51 -08:00
Jason Ekstrand
f1a7c7841f
vk/0.210.0: Switch to the new VKAPI function decorations
...
While we're at it, we do a bunch of the VkResult -> void updates
2015-11-30 12:46:30 -08:00
Jason Ekstrand
a89a485e79
vk/0.210.0: Rename CmdBuffer to CommandBuffer
2015-11-30 11:48:08 -08:00
Jason Ekstrand
6a8a542610
vk/0.210.0: A pile of minor enum updates
2015-11-30 11:12:44 -08:00
Jason Ekstrand
3db43e8f3e
vk/0.210.0: Switch to the new-style handle declarations
2015-11-30 10:58:02 -08:00
Kristian Høgsberg Kristensen
cd4721c062
vk: Add SKL support
...
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-11-25 22:34:10 -08:00
Jason Ekstrand
fa8db0dfcc
anv: Put all of the descriptor set stuff together in one file
...
The stuff to take descriptor sets and turn them into binding tables and
sampler tables is still in anv_cmd_buffer.c. We may want to consider
putting it in anv_descriptor_set.c eventually.
2015-11-18 14:58:43 -08:00
Jason Ekstrand
828b1a6eb6
anv/device: Update the right sampler in UpdateDescriptorSets
2015-11-18 14:48:28 -08:00
Jason Ekstrand
f0390bcad6
anv: Add initial Haswell support
2015-11-17 12:14:24 -08:00
Jason Ekstrand
aa3002bd42
anv/entrypoints: Use devinfo instead of a gen number
2015-11-17 08:27:51 -08:00
Jason Ekstrand
de54b4b18f
anv: Only include the pack headers where needed
...
Previously, we were including gen7_pack.h, gen75_pack.h, and gen8_pack.h
in anv_private.h. As we add more gens, this is going to become untenable.
This commit moves things around so that we only use the pack headers when
and if we need them.
2015-11-16 12:29:09 -08:00
Chad Versace
738eaa8acf
isl: Embed brw_device_info in isl_device
...
Suggested-by: Jason Ekstrand <jason.ekstrand@intel.com>
2015-11-13 11:14:03 -08:00
Chad Versace
af392916ff
anv/device: Embed isl_device
...
Embed struct isl_device into anv_physical_device and anv_device. It
will later be used for surface layout calculations.
2015-11-13 10:44:09 -08:00
Chad Versace
477383e9ac
anv: Strip trailing whitespace from anv_device.c
2015-11-13 10:27:40 -08:00
Jason Ekstrand
3a3d79b38e
anv/gen7: Implement the VS state depth-stall workaround
2015-11-10 16:42:34 -08:00
Jason Ekstrand
427978d933
anv/device: Use an actual int64_t in WaitForFences
2015-11-10 15:02:52 -08:00
Jason Ekstrand
aafc87402d
anv/device: Work around the i915 kernel driver timeout bug
...
There is a bug in some versions of the i915 kernel driver where it will
return immediately if the timeout is negative (it's supposed to wait
indefinitely). We've worked around this in mesa for a few months but never
implemented the work-around in the Vulkan driver.
I rediscovered this bug again while working on Ivy Bridge becasuse the
drive in my Ivy Bridge currently has Fedora 21 installed which has one of
the offending kernels.
2015-11-10 11:24:11 -08:00
Jason Ekstrand
862da6a891
anv/device: Add a newline to the end of a comment
2015-11-09 16:04:06 -08:00
Jason Ekstrand
399d5314f6
anv/cmd_buffer: Rework the way we emit UBO surface state
...
The new mechanism should be able to handle SSBOs as well as properly handle
emitting surface state on gen7 where we need different strides depending on
shader stage.
2015-11-06 15:14:12 -08:00
Jason Ekstrand
220261a0c9
anv: Use VkDescriptorType instead of anv_descriptor_type
2015-11-06 14:09:52 -08:00
Jason Ekstrand
612e35b2c6
anv: Do range-checking in the shader for dynamic buffers
2015-11-06 13:32:52 -08:00
Jason Ekstrand
f8052351ac
anv/device: Increase the block size for instructions
2015-11-06 13:29:47 -08:00
Jason Ekstrand
d7cc9929bb
anv: Remove all support for BufferViews
...
We never *actually* supported them, we just used them for binding UBOs.
Now that we have BufferInfo and we aren't supporting texture buffers yet,
we should get rid of them until we can do them properly.
2015-11-06 13:16:18 -08:00
Jason Ekstrand
0360c3608b
anv/device: Only support binding UBOs through BufferInfo
2015-11-06 12:52:12 -08:00
Jason Ekstrand
3aa2fc82dd
anv: Rework UpdateDescriptorSets
...
Previously, UpdateDescriptorSets was wrong because it assumed that the
binding was the offset into the descriptor set.
2015-11-06 12:28:03 -08:00
Jason Ekstrand
45b1bbe801
anv: Add a descriptor_index to anv_descriptor_set_binding_layout
2015-11-06 12:16:54 -08:00
Jason Ekstrand
f029e0ce13
anv: Add a layout to anv_descriptor_set
2015-11-06 12:16:54 -08:00
Jason Ekstrand
b00e3f221b
Merge remote-tracking branch 'mesa-public/master' into vulkan
2015-11-03 15:45:04 -08:00