Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nir/spirv: Add support for multisampled textures | Jason Ekstrand | 2016-02-21 | 1 | -12/+19 |
| | |||||
* | anv: Fix a typo in apply_dynamic_offsets | Jason Ekstrand | 2016-02-20 | 1 | -2/+2 |
| | | | | shader->num_uniforms is in terms of bytes in i965. | ||||
* | anv: Zero out the WSI array when initializing the instance | Jason Ekstrand | 2016-02-20 | 1 | -0/+2 |
| | |||||
* | isl: Stop including mesa/main/imports.h | Jason Ekstrand | 2016-02-20 | 2 | -1/+2 |
| | | | | It pulls in all sorts of stuff we don't want. | ||||
* | genxml: Add mote includes in the generated headers | Jason Ekstrand | 2016-02-20 | 1 | -0/+3 |
| | |||||
* | anv: Get rid of GENX_FUNC | Jason Ekstrand | 2016-02-20 | 2 | -63/+7 |
| | | | | It was a bad idea. | ||||
* | anv: Switch over to the macros in genxml | Jason Ekstrand | 2016-02-20 | 13 | -275/+122 |
| | |||||
* | intel/genxml: Add a couple of helper headers | Jason Ekstrand | 2016-02-20 | 2 | -0/+188 |
| | |||||
* | genxml: Stop using unicode in the pack generator | Jason Ekstrand | 2016-02-19 | 1 | -1/+1 |
| | | | | | This causes python problems and problems when people don't have a locale set properly in their shell. | ||||
* | anv: fix warning about unused width variable. | Dave Airlie | 2016-02-19 | 1 | -2/+1 |
| | | | | We don't use width outside the debug clause here. | ||||
* | anv/pipeline: Fix a typo in the pipeline layout code | Jason Ekstrand | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | anv/allocator: Set is_winsys_bo to false for block pool BOs | Jason Ekstrand | 2016-02-18 | 1 | -0/+1 |
| | |||||
* | vulkan: fix out-of-tree build | Mark Janes | 2016-02-18 | 1 | -0/+1 |
| | | | | | | We need to be able to find the generated gen*pack.h headers. Acked-by: Jason Ekstrand <[email protected]> | ||||
* | anv/pipeline: Use nir's num_images for allocating image_params | Jason Ekstrand | 2016-02-18 | 2 | -4/+6 |
| | |||||
* | nir/gather_info: Count textures and images | Jason Ekstrand | 2016-02-18 | 1 | -0/+17 |
| | |||||
* | anv/pipeline: Don't leak the binding map | Jason Ekstrand | 2016-02-18 | 3 | -0/+8 |
| | |||||
* | anv/formats: Don't use a compound literal to initialize a const array | Jason Ekstrand | 2016-02-18 | 1 | -2/+2 |
| | | | | | 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. | ||||
* | Move the intel vulkan driver to src/intel/vulkan | Jason Ekstrand | 2016-02-18 | 56 | -6/+5 |
| | |||||
* | Move isl to src/intel | Jason Ekstrand | 2016-02-18 | 27 | -6/+4 |
| | |||||
* | vulkan: Move XML and generator into src/intel/genxml | Jason Ekstrand | 2016-02-18 | 22 | -33/+82 |
| | |||||
* | anv/meta: Initialize blend state for the right attachment | Kristian Høgsberg Kristensen | 2016-02-18 | 1 | -10/+11 |
| | | | | | We were always initializing only RT 0. We need to initialize the RT we're creating the clear pipeline for. | ||||
* | anv/meta: Don't use the blit ds layout in resolve code | Kristian Høgsberg Kristensen | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | Delete nir_lower_samplers.cpp | Jason Ekstrand | 2016-02-17 | 1 | -248/+0 |
| | | | | | Somehow, in one of the merges with mesa master, the old file must have been kept when nir_lower_samplers.cpp was moved to nir_lower_samplers.c. | ||||
* | anv: Gut anv_pipeline_layout | Jason Ekstrand | 2016-02-17 | 2 | -97/+13 |
| | | | | | Almost none of the data in anv_pipeline_layout is used anymore thanks to doing real layout in the pipeline itself. | ||||
* | anv: Build the real pipeline layout in the pipeline | Kristian Høgsberg Kristensen | 2016-02-17 | 6 | -118/+201 |
| | | | | | | | | | This gives us the chance to pack the binding table down to just what the shaders actually need. Some applications use very large descriptor sets and only ever use a handful of entries. Compacted binding tables should be much more efficient in this case. It comes at the down-side of having to re-emit binding tables every time we switch pipelines, but that's considered an acceptable cost. | ||||
* | nir/spirv: Add some more capabilities | Jason Ekstrand | 2016-02-17 | 1 | -2/+9 |
| | |||||
* | anv/pipeline: Delete out-of-bounds fragment shader outputs | Jason Ekstrand | 2016-02-17 | 1 | -0/+13 |
| | |||||
* | nir: Add a helper for getting the one function from a shader | Jason Ekstrand | 2016-02-17 | 1 | -0/+9 |
| | |||||
* | nir: Add a nir_foreach_variable_safe helper | Jason Ekstrand | 2016-02-17 | 1 | -0/+3 |
| | |||||
* | i965/nir: Do lower_io late for fragment shaders | Jason Ekstrand | 2016-02-17 | 3 | -2/+6 |
| | |||||
* | anv/gen7_pipeline: Set WriteDisable = true if we have no color attachments | Jason Ekstrand | 2016-02-17 | 1 | -5/+5 |
| | |||||
* | anv/gen8_pipeline: Default color attachments to WriteDisable = true | Jason Ekstrand | 2016-02-17 | 1 | -0/+7 |
| | |||||
* | anv: Pull StencilBufferWriteEnable from both sides | Jason Ekstrand | 2016-02-17 | 1 | -1/+2 |
| | |||||
* | anv: Ignore unused dimensions in vkCreateImage's anv_image | Nanley Chery | 2016-02-17 | 1 | -0/+2 |
| | | | | | | | We ignore unused dimensions in the isl surface; do the same for the resulting anv_image. Reviewed-by: Kristian Høgsberg Kristensen <[email protected]> | ||||
* | spirv: Fix SpvOpFwidth, SpvOpFwidthFine and SpvOpFwidthCoarse | Kristian Høgsberg Kristensen | 2016-02-17 | 1 | -3/+3 |
| | | | | | | | "Result is the same as computing the sum of the absolute values of OpDPdx and OpDPdy on P." We were doing sum of absolute values of OpDPdx of P and OpDPdx of NULL. | ||||
* | anv: Remove hacky PIPE_CONTROL in vkCmdEndRenderPass() | Kristian Høgsberg Kristensen | 2016-02-17 | 1 | -14/+0 |
| | | | | | The vkCmdPipelineBarrier() command should work as intended now and we need to pull the plug on this old hack. | ||||
* | anv: Rework vkCmdPipelineBarrier() | Kristian Høgsberg Kristensen | 2016-02-17 | 1 | -60/+62 |
| | | | | | | | | | | | | We don't need to look at the stage flags, as we don't really support any fine-grained, stage-level synchronization. We have to do two PIPE_CONTROLs in case we're both flushing and invalidating. Additionally, if we do end up doing two PIPE_CONTROLs, the first, flusing one also has to stall and wait for the flushing to finish, so we don't re-dirty the caches with in-flight rendering after the second PIPE_CONTROL invalidates. | ||||
* | anv: Ignore unused dimensions in vkCreateImage | Kristian Høgsberg Kristensen | 2016-02-17 | 1 | -3/+18 |
| | | | | | | | | | | | | | | | | We would assert on unused dimensions (eg extent.depth for VK_IMAGE_TYPE_2D) not being 1, but the specification doesn't put any constraints on those. For example, for VK_IMAGE_TYPE_1D: "If imageType is VK_IMAGE_TYPE_1D, the value of extent.width must be less than or equal to the value of VkPhysicalDeviceLimits::maxImageDimension1D, or the value of VkImageFormatProperties::maxExtent.width (as returned by vkGetPhysicalDeviceImageFormatProperties with values of format, type, tiling, usage and flags equal to those in this structure) - whichever is higher" We'll fix up the arguments to isl to keep isl strict in what it expects. | ||||
* | anv: Set correct write domain on window system BOs | Kristian Høgsberg Kristensen | 2016-02-17 | 5 | -3/+15 |
| | | | | | | We need to make sure GEM understands that we're writing to the BO, in case it needs to synchronize with other rings (blitter use in display server, for example). | ||||
* | Revert "anv: Disable snooping for allocator pools again" | Kristian Høgsberg Kristensen | 2016-02-16 | 1 | -0/+2 |
| | | | | | | | | | | | | This reverts commit c136672c593399e831db0da8b8cc6d8a5d73c1d3. We still have the intermittent missing flush for VkEvent in certain vulkancts cases: piglit.deqp-vk.api.command_buffers.execute_large_primary piglit.deqp-vk.api.command_buffers.submit_count_non_zero, Let's reenable the snooping until we figure out the root cause. | ||||
* | anv: Make driver and icd file installable | Kristian Høgsberg Kristensen | 2016-02-16 | 5 | -13/+39 |
| | | | | | | | Change the name of the .so to libvulkan_intel.so and add an installable icd with the installed paths. Keep the icd file with build-tree paths, but rename to dev_icd.json to make it clear that it's for development purposes. | ||||
* | anv: Revise PhysicalDeviceFeatures and remove FINISHME | Kristian Høgsberg Kristensen | 2016-02-16 | 1 | -8/+8 |
| | |||||
* | anv: pCreateInfo->pApplicationInfo parameter to vkCreateInstance may be NULL | Philipp Zabel | 2016-02-16 | 1 | -2/+4 |
| | | | | | | | | | | Fix a NULL pointer dereference in anv_CreateInstance in case the pApplicationInfo field of the supplied VkInstanceCreateInfo structure is NULL [1]. [1] https://www.khronos.org/registry/vulkan/specs/1.0/apispec.html#VkInstanceCreateInfo Signed-off-by: Philipp Zabel <[email protected]> | ||||
* | anv/icd.json: Update the ABI version | Jason Ekstrand | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | anv: Pull Khronos stuff from the README | Jason Ekstrand | 2016-02-16 | 1 | -8/+1 |
| | |||||
* | anv/genxml: Include MBO bits for gen7 and gen75 | Kristian Høgsberg Kristensen | 2016-02-15 | 3 | -6/+18 |
| | |||||
* | anv: Add missing gen75_cmd_buffer_set_subpass() prototype | Kristian Høgsberg Kristensen | 2016-02-15 | 1 | -0/+2 |
| | |||||
* | anv: Bump to 1.0.3 | Adam Jackson | 2016-02-15 | 1 | -1/+1 |
| | | | | | Probably this should be picked up from <vulkan.h> directly, or we should just assume that any 1.0.x is legal. | ||||
* | anv/gen7: Make disabling the FS work | Kristian Høgsberg Kristensen | 2016-02-15 | 1 | -3/+17 |
| | | | | | We disable the fragment shader for depth/stencil-only pipelines. This commit makes that work for gen7. | ||||
* | anv: Deduplicate render pass code | Kristian Høgsberg Kristensen | 2016-02-15 | 3 | -343/+179 |
| | | | | | This lets us share the renderpass code and depth/stencil state code between gen 7 and gen 8. |