summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25crucible: add VK_EXT_debug_report supportVK_EXT_debug_reportTapani Pälli5-1/+98
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2017-08-21glsl_scraper: Provide a QO_EXTENSION macro for handling #extensionJason Ekstrand1-0/+4
You can't put #extension directly in C source so we need to make a magic qonos macro to allow declaring extensions.
2017-08-21glsl_scraper: Finalize the stream in finish_text()Jason Ekstrand2-5/+9
2017-08-02func.sync.semaphore-fd: Only use one semaphore for OPAQUE_FDJason Ekstrand1-47/+37
The requirement of the Vulkan API is that the semaphore signal/wait operations come in nicely interleaved pairs. There is no requirement that the semaphore must be idle when you submit it, however. Let's be a bit tougher on the implementation.
2017-08-02func.sync.semaphore-fd: Use the correct flags for SYNC_FDJason Ekstrand1-0/+1
2017-07-15semaphore-fd: Switch to the KHR extensionsJason Ekstrand1-69/+80
2017-07-05qonos: pass pNext through in AllocateMemoryFromRequirementsJason Ekstrand1-0/+1
2017-07-05func.sync.semaphore-fd: Use atomics to record execution orderJason Ekstrand1-31/+183
2017-06-06qonos: Set the correct initial attachment layoutNanley Chery1-1/+1
Most tests don't perform a transition from the UNDEFINED layout. Make this happen automatically by changing the default attachment parameters.
2017-05-17Add the reference image for func.4-vertex-buffersJason Ekstrand1-0/+0
2017-05-17t: Get rid of t_mem_type_indexJason Ekstrand28-174/+65
There isn't a single type index that works for all mmapable things. Instead, we need to actually look at the requirements.
2017-05-17qonos: Select a memory type if the client doesn't ask for oneJason Ekstrand2-24/+51
2017-05-16Add a test that tests 4 vertex buffers in a rowJason Ekstrand2-0/+166
2017-05-03func.sync.semaphore-fd: Ceck physical device featuresJason Ekstrand1-0/+30
2017-04-14Add a cross-device synchronization testsJason Ekstrand2-0/+770
2017-04-14framework: Add a helper for requiring an extensionJason Ekstrand2-0/+20
2017-04-14framework: Record and enable all extensioinsJason Ekstrand2-1/+51
Vulkan doesn't allow you to use features you haven't enabled. The easy solution is to just enable everything.
2017-03-28qonos: Add a wrapper for vkQueueWaitIdleJason Ekstrand14-16/+28
2017-03-06first: Use VK_WHOLE_SIZEJason Ekstrand1-3/+3
We were getting the ranges wrong.
2017-01-06Add an arrayed depth clear testNanley Chery2-0/+295
This test demonstrates a bug in Mesa f4821daed1ec185d16f9ee3cc0951d306ce6e2b9. When arrayed depth buffers are cleared, only the first layer returns the clear value.
2016-11-21Add a CS version of the lots-of-surface-state testJason Ekstrand2-4/+341
2016-10-21framework/t_phase_setup: Increase descriptor pool set count by oneNanley Chery1-1/+1
Fixes the following validation error on func.first (which allocates two sets), DS(ERROR): object: 0x1 type: 22 location: 1509 msgCode: 31: Unable to allocate 2 descriptorSets from pool 0x1. This pool only has 1 descriptorSets remaining. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-10-21configure: Properly report success when checking for OpenCVJason Ekstrand1-0/+2
2016-10-21configure: Check for the right python module when detecting OpenCVJason Ekstrand1-1/+1
2016-10-19framework/t_phase_setup: Add asserts for vk function callsNanley Chery1-4/+5
2016-09-25tests/func.miptree: Properly set a scissorJason Ekstrand1-0/+12
Clients are required to set a scissor and this test wasn't.
2016-09-25tests/func.miptree: Use the correct format when creating the VkRenderPassJason Ekstrand1-1/+1
2016-09-16crucible: the push constant tests need to be stated in the layout.Dave Airlie1-1/+8
The layout doesn't mention the push constants, but the test goes ahead and uses push constants.
2016-09-08tests/miptree: Don't check miptree_gen.c into gitJason Ekstrand2-3192/+1
It's generated by miptree_gen.py
2016-09-08tests/miptree: Add copy-with-draw depth/stencil testsJason Ekstrand2-0/+314
2016-09-08tests/miptree: Use valid formats for download-with-drawJason Ekstrand1-3/+37
2016-09-08tests/miptree: Use the correct usage bits for imagesJason Ekstrand1-8/+46
2016-09-08tests/func.first: Use an extra function to sample the textureJason Ekstrand1-1/+7
2016-07-15Add test for maximum buffer rangesNanley Chery2-0/+103
This test demonstrates a bug in mesa 29f53d793781b67a92bb95fe66d7d38adc5488bb , in which Anvil fails an ISL assertion that the maximum buffer range is less than a certain size. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15func.desc.dynamic: Use a correct reference imageNanley Chery3-0/+1
Commit 17685f385bad0f7e79772e2e5990e2e2572b6897 changed the uniform buffer test's reference image although the test logic would have generated the same image if it didn't have the bugs that commit introduced. Restore the original image. Since storage test's output is equivalent to that of the uniform test, remove its custom image and reference the uniform buffer test's image. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15func.desc.dynamic: Fix the subtestsNanley Chery1-17/+7
The uniform buffer test is fixed by updating the right DescriptorSet binding. The storage test failed, at least, because of the following bugs: * It assigned uint array indices float color values * It provided 1 dynamic offset instead of 3 * It did not specify the dynamic variant of VkDescriptorSetLayoutBinding::descriptorType This patch removes these bugs by simply making the storage buffer test parallel to that of the uniform buffer test. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15func.desc.dynamic: Bind the correct number of vertex buffersNanley Chery1-1/+1
The vertex shader has only one vertex input attribute. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15func.desc.dynamic: Set required VkRenderPassBeginInfo::sType fieldNanley Chery1-0/+1
This is required by the Vulkan Specification and silences the validation layers. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15func.desc.dynamic: Create the buffer with correct usage flagsNanley Chery1-1/+5
The buffer has two usages in each test variant. Create it with usage flags equal to the union of both usage sets. This field is required to be non-zero. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15Add tests for binding descriptor setsNanley Chery2-0/+190
This test isolates a bug in mesa 0f7a6ea5e7b95cfe10dd5c176858ca078b36a197 , where the driver segfaults when binding partly defined dynamic descriptor sets. This bug was discovered through func.desc.dynamic.storage-buffer. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15stress.lots-of-surface-state: Specify the right DescriptorTypeNanley Chery1-1/+1
Because the variable use_dynamic_offsets is true in this block, the resource descriptor to be updated is actually a dynamic uniform buffer. Fixes: * stress.lots-of-surface-state.vs.dynamic * stress.lots-of-surface-state.fs.dynamic Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-07-15Conform to Vulkan Specification 1.0.20Nanley Chery4-8/+71
I used the Vulkan Validation layers to determine the areas of non-conformance. Changes: * Provide required fields: - VkFramebufferCreateInfo::renderPass - VkSubmitInfo::sType - VkDeviceQueueCreateInfo::sType - VkDeviceQueueCreateInfo::pQueuePriorities * Assign the right bit to VkDescriptorPoolCreateInfo::flags for the freeing which occurs during cleanup. * Use the correct VkDescriptorPoolCreateInfo::poolSizeCount value. This fixes a bug in DescriptorPool creation in which DescriptorTypes after STORAGE_TEXEL_BUFFER were not being added to the pool. * Set VkGraphicsPipelineCreateInfo::pDynamicState to NULL if VkPipelineDynamicStateCreateInfo::dynamicStateCount is zero Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
2016-06-28miptree: Skip attempts to make unsupported imagesNanley Chery1-5/+34
This causes tests that attempt to create linear depth buffers on Gen7+ (unsupported), to be skipped. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
2016-03-31stress.lots-of-surface-state: Allocate more descriptors in the poolJason Ekstrand1-1/+1
2016-03-04depthstencil: Add a discard to stencil_trianglesJason Ekstrand1-0/+2
This allows us to easily reproduce the dota2 flicker bug
2016-02-22Add support for t_descriptor_poolKristian Høgsberg Kristensen11-7/+62
2016-02-22lots-of-surface-state: Use a descriptor poolKristian Høgsberg Kristensen1-2/+30
This test needs big descriptor sets. Use a custom pool.
2016-02-15Move the fragcoord test to the "shader" folderJason Ekstrand2-3/+3
2016-02-11Add a test for gl_FragCoordJason Ekstrand2-0/+162
2016-02-09func.dephstencil: Fix a reference imageChad Versace2-0/+0
The reference image for func.depthstencil.basic-depth.clear-0.5.op-greater-equal was wrong. It was produced by an old Mesa in which depth clears did not work yet. That Mesa "cleared" all depth buffers to 0.0 regardless of the actual clear value.