| Age | Commit message (Collapse) | Author |
|
|
|
Added layer validation tests for several ObjectTracker and
MemTracker validation cases. Also improved error handling
in object tracker layer to handle validation failures that
could cause unrecoverable driver errors.
|
|
New names and behavior for QueueBind* APIs.
|
|
|
|
header: 0.93.0
svn: 30980
|
|
svn ID: 30918
Change the VkCmdClearColroImage color parameter
be a pointer.
|
|
This includes suppressing compiler warning C4065, where VS complains if a
switch statement has a "default", but not "case" statements. This was true in
many functions of the auto-generated "helper" header files.
This also includes removing unreferenced local variables, and dealing with some
type differences (sometimes with casting, sometimes with changing the type).
|
|
|
|
|
|
The loop was blindly incrementing the iterator and
it should not. In the delete case the loop should
resume with the iterator returned
by the delete as it's the next element in the list.
|
|
Cleaned up alignment, made function definitions consistent,
shortened some line lengths.
|
|
|
|
The upstream vulkan.h header removed maxLayerCount parameter
from vkEnumerateLayers. This patch implements that change
for the sample driver and layers.
|
|
|
|
Switch from VK_WSI_X11 to VK_WSI_LunarG
v2:
- split out glave changes
- redo mem_tracker changes
- rebase
Conflicts:
demos/cube.c
demos/tri.c
v3 (from Ian):
- Put "#if 0" around non-upstream members of VkDisplayPropertiesWSI.
|
|
The blit tests were skipping this step resulting in tons of memtracker
validation errors.
|
|
Rename some vkCmdBindDescriptorSets parameters and add a dynamic offset count.
v2: Add a check against dynamicOffsetCount before copying dset data.
|
|
|
|
This is part of r30446 on vulkan.h, discussed in bug 13632.
Meaty chunks of this commit done by Olv, basic hook up and testing by Cody.
|
|
|
|
part of multiple commits to implement bug #13632.
bug 13632
header version 82
svn version: 30446
This patch converts:
vkCmdBindVertexBuffer -> vkCmdBindVertexBuffers
vkQueueAddMemReference -> vkQueueAddMemReferences
vkQueueRemoveMemReference -> vkQueueRemoveMemReferences
|
|
|
|
Implemented the changes required for adding fine-grained synchronization
to vkBindMemoryObject and related APIs.
|
|
|
|
layer_initialize_dispatch_table was using gpa pointer without lookup.
That could put the loader GPA function in for the lowest dispatch table
instead of the icd GPA function.
Use the same return from GPA call for GPA itself.
There was code fixing up GPA dispatch in draw_state.cpp and mem_tracker.cpp.
Remove that now that layer_initialize_dispatch_table does the right thing.
|
|
Record correctly when only some fences of a queue are waited for.
|
|
|
|
|
|
Missed a couple of error message renaming changes necessary for layer
validation tests.
|
|
Also fix extension supported list in DrawState and ObjectTracker to include
their local extensions in GetGlobalExtensionInfo()
|
|
is currenting hitting segF by itself
|
|
Validation checks for SIGNALED/UNSIGNALED fences in appropriate locations.
|
|
have loader use it to enumerate all extensions from layers and drivers.
Non-gode_gen layers also updated to include vkGetGlobalExtensionInfo
Includes verion info as part of GetExtensionSupport return data.
TODO: vk-layer-generate needs work
v2: do not check for non-existing ENABLE_WSI_X11 (olv)
|
|
- use typedef {enum,struct} VkFoo_ instead of _VkFoo
- MAX_ENUM uses the typedefed name instead of the tag name
(otherwise it would have double underscore which is also reserved)
git-svn-id: https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/vulkan@30132 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
|
- remove "Object" from the name of VkDynamic*State objects.
(no other leaf classes have "Object" in the name).
- fix some minor spacing issues
git-svn-id: https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/XGL@30120 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
|
Loader only wraps GPU objects for creating a layer chain. After layer activation
layers and loader use unwrapped gpu object returned by the driver.
This is a large simplification.
This fixes a nasty bug where layers intercepting entrypoints with gpu objects
but not all these entrypoints would fail. These would cause non-uniform
unwrapping of gpu objects by the time the driver was called with a gpu object.
Fixes issue in loader_get_icd where it was trying to compare a wrapped GPU
against a non-wrapped GPU.
|
|
Renamed structure types as well.
TODO: verify vk-layer-generate.py
v2: fix LoaderEntrypointsSubcommand (olv)
|
|
TODO: verify vk-layer-generate.py
TODO: need to rename object tracker generator
v2: fix "python3 vulkan.py"
fix dead cod in tri introduced by rebase
beautify wsi_null.c (olv)
|
|
VK_DEVICE_QUEUE_CREATE_INFO => VkDeviceQueueCreateInfo
VK_DEVICE_CREATE_INFO => VkDeviceCreateInfo
VK_INSTANCE_CREATE_INFO => VkInstanceCreateInfo
VK_LAYER_CREATE_INFO => VkLayerCreateInfo
VK_MEMORY_ALLOC_INFO => VkMemoryAllocInfo
VK_MEMORY_ALLOC_IMAGE_INFO => VkMemoryAllocImageInfo
VK_MEMORY_ALLOC_BUFFER_INFO => VkMemoryAllocBufferInfo
VK_BUFFER_CREATE_INFO => VkBufferCreateInfo
VK_BUFFER_VIEW_CREATE_INFO => VkBufferViewCreateInfo
|
|
TODO: re-enable glave build, advance API for glave
v2: get rid of outdated code in tri introduced by rebase
rename wsi_null.c (olv)
|
|
Layers now support loader querying their layer name via GetExtensionSupport
in addition to EnumerateLayers.
Also fixed bugs in ObjectTracker and DrawState to add the extensions they
support in the GetExtensionSupport queries.
Conflicts:
xgl-layer-generate.py
|
|
Added changes to fence semantics for this revision.
tests: Create contructor with no args
intel: Added Tony's patch for ResetFences support in the ICD.
v2: reset fence in intel_fence_seq_seqno(). We need the reset to make
xglQueueWaitIdle() work (olv)
layers: Added ResetFences support to MemTracker
Add new entrypoint and fence semantics for fence status flags.
layers: Completed changed fence semantics for MemTracker
Completed the changes for xgl header revision 67, adding resetFences.
layers: Changes to support xglResetFences
v2: squashed into one commit (olv)
|
|
API was changed for handling memory references, updated memtracker
layer to correctly track and validate memory references.
|
|
|
|
Fences were being validated to make sure they had been retired, layer
was updated to validate that the app has checked the fences.
|
|
Not supported on Intel, but will be on other hw.
|
|
Updated LinkedList-related variable names
Conflicts:
layers/mem_tracker.cpp
|
|
v2: remove a stale comment in the sample driver (olv)
|
|
|
|
|