Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: fix unsigned long overflows for i386 | Mark Janes | 2016-02-01 | 4 | -12/+12 |
| | | | | | bit-shifts on 32 bit unsigned longs overflow in several places. The intention was for 64 bit integers to be used. | ||||
* | nir/spirv: Fix UBO loads of a single element of a row-major matrix | Jason Ekstrand | 2016-02-01 | 1 | -0/+2 |
| | |||||
* | nir/spirv: Handle the LOD parameter of OpImageQuerySizeLod | Jason Ekstrand | 2016-02-01 | 1 | -0/+4 |
| | |||||
* | nir/spirv: Add support for SpvOpImage | Jason Ekstrand | 2016-02-01 | 1 | -0/+12 |
| | |||||
* | nir/spirv: Fix the UBO loading case of a single row-major matric column | Jason Ekstrand | 2016-02-01 | 1 | -2/+5 |
| | |||||
* | nir/spirv: Fix the UBO loading case of a single row-major matric column | Jason Ekstrand | 2016-02-01 | 1 | -3/+7 |
| | |||||
* | anv/wsi/wayland: Advertise sRGB | Jason Ekstrand | 2016-02-01 | 1 | -4/+4 |
| | |||||
* | anv/wsi/x11: Expose SRGB all the time | Jason Ekstrand | 2016-02-01 | 1 | -1/+1 |
| | | | | | | | After a long discussion with Eric Anholt and Owen Taylor, I learned that X11 is basically always sRGB as that's what the scanout hardware does and X doesn't modify anything. Therefore, we should just always expose sRGB formats. | ||||
* | anv: Structify a one-member union | Chad Versace | 2016-02-01 | 1 | -3/+1 |
| | | | | anv_descriptor contained a union with one member. | ||||
* | anv: Advertise robustBufferAccess | Kristian Høgsberg Kristensen | 2016-02-01 | 1 | -1/+1 |
| | | | | | | The GPU does most of this for us as long as we set up tight bounds for the buffers, which we do. Additionally, we range check dynamically buffers in the shader. With that it's safe to turn on robustBufferAccess. | ||||
* | anv/meta: Strip trailing whitespace | Chad Versace | 2016-02-01 | 1 | -5/+5 |
| | |||||
* | anv: Update MSAA status in README | Chad Versace | 2016-02-01 | 1 | -1/+1 |
| | |||||
* | Update the README | Jason Ekstrand | 2016-02-01 | 1 | -8/+13 |
| | |||||
* | wsi/x11: Remove B8G8R8_UNORM | Jason Ekstrand | 2016-02-01 | 1 | -1/+0 |
| | | | | | | We don't actually support that format yet because ISL doesn't have an enum for it. We need to beef up the formats table to allow for tiled-only formats. | ||||
* | anv/gen7: Rename gen7_batch_lr* to emit_lr* | Jordan Justen | 2016-01-30 | 1 | -30/+30 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Set BypassGatewayControl in MEDIA_VFE_STATE | Jordan Justen | 2016-01-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/genX_pipeline: Remove unnecessary #include files | Jordan Justen | 2016-01-30 | 1 | -8/+0 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Set SLM size in interface descriptor | Jordan Justen | 2016-01-30 | 1 | -0/+11 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv: Support MEDIA_VFE_STATE for gen7 | Jordan Justen | 2016-01-30 | 1 | -3/+4 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Subtract 1 from num_elements when setting up buffer surface state | Jordan Justen | 2016-01-30 | 1 | -3/+3 |
| | | | | | | e8f51fe4 for gen7 Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Disable fs dispatch for depth/stencil only pipelines | Jordan Justen | 2016-01-30 | 1 | -49/+55 |
| | | | | | | 292031a for gen7 Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Add support for gl_NumWorkGroups | Jordan Justen | 2016-01-30 | 1 | -0/+19 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7/compute: Setup push constants and local ids | Jordan Justen | 2016-01-30 | 1 | -0/+21 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/genX: Add genX_pipeline.c for compute_pipeline_create | Jordan Justen | 2016-01-30 | 4 | -100/+137 |
| | | | | | | Adds initial compute_pipeline_create implementation for gen7. Signed-off-by: Jordan Justen <[email protected]> | ||||
* | Merge branch 'vulkan' into 'vulkan' | Jason Ekstrand | 2016-01-30 | 1 | -2/+3 |
|\ | | | | | | | | | | | | | Vulkan WSI Wayland fixes Two small fixes to make mailbox mode actually work again. See merge request !4 | ||||
| * | anv/wsi: Mark Wayland buffers as busy | Daniel Stone | 2016-01-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | We were diligently setting Wayland buffers as non-busy, but nowhere in the code did we set them to busy when submitted to the server. This meant that acquire_next_image would only ever find the same buffer in a loop, over and over. Signed-off-by: Daniel Stone <[email protected]> | ||||
| * | anv/wsi: Avoid stuck Wayland connection | Daniel Stone | 2016-01-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | In acquire_next_image, we are waiting for a wl_buffer::release to arrive and release one of the buffers in our swapchain. Most compositors don't explicitly flush release events, so we may need to perform a roundtrip instead, to ensure the event arrives. Signed-off-by: Daniel Stone <[email protected]> | ||||
* | | anv/pass: Initialize has_resolve | Jason Ekstrand | 2016-01-30 | 1 | -0/+1 |
| | | |||||
* | | anv/wsi: Set the platform field of VkIcdSurfaceBase | Jason Ekstrand | 2016-01-30 | 2 | -0/+2 |
| | | |||||
* | | anv/wsi/x11: Actually pull information from the window's visual | Jason Ekstrand | 2016-01-30 | 1 | -7/+143 |
| | | |||||
* | | anv/wsi/x11: Actually check for DRI3 | Jason Ekstrand | 2016-01-30 | 1 | -15/+173 |
| | | |||||
* | | anv/WSI: Support more usage bits | Jason Ekstrand | 2016-01-29 | 2 | -0/+4 |
| | | | | | | | | | | They're just images and we have no intention of stompping alpha channels (at least not yet), so there's no reason why you can't sample. | ||||
* | | anv/formats: Add more compressed formats | Jason Ekstrand | 2016-01-29 | 1 | -16/+16 |
| | | | | | | | | | | This adds support for the DX compression formats. Given that ETC and EAC are working fine, these should be ok too. | ||||
* | | anv/wsi: Rework to be compatable with the loader | Jason Ekstrand | 2016-01-29 | 6 | -97/+94 |
| | | |||||
* | | vulkan: Import vk_icd.h | Jason Ekstrand | 2016-01-29 | 2 | -7/+86 |
| | | |||||
* | | anv/device: Fix version check | Jason Ekstrand | 2016-01-29 | 1 | -1/+1 |
| | | | | | | | | The bottom-end check was wrong so it was only working on <= 1.0.0. Oops. | ||||
* | | anv: Don't disable snooping for mempools | Kristian Høgsberg Kristensen | 2016-01-29 | 1 | -0/+2 |
| | | | | | | | | | | | | There's an intermittent flushing problem with VkEvent that we need to root cause. For now, using the snooping feature keeps the memory pools up to date with GPU writes and fixes the problem. | ||||
* | | anv: clflush is only orderered against mfence | Kristian Høgsberg Kristensen | 2016-01-29 | 3 | -11/+12 |
| | | | | | | | | | | | | We can't use the more fine-grained load and store fence commands (lfence and mfence), since clflush is only guaranteed to be ordered with respect to mfence. | ||||
* | | anv: Limit flushing to the range of mapped memory | Kristian Høgsberg Kristensen | 2016-01-29 | 1 | -1/+6 |
| | | |||||
* | | anv/cmd_buffer: Emit gen9 style SF state for CHV | Ben Widawsky | 2016-01-29 | 1 | -1/+23 |
| | | | | | | | | | | The state for line width changes on Cherryview to use the GEN9 bits (for extra precision). | ||||
* | | anv/gen8: Extract SF state | Ben Widawsky | 2016-01-29 | 1 | -8/+15 |
| | | | | | | | | For upcoming patch to address difference in Cherryview. | ||||
* | | anv: Do resolves at end of subpass | Chad Versace | 2016-01-28 | 4 | -0/+68 |
| | | |||||
* | | anv/meta: Remove unneeded resolve pipeline | Chad Versace | 2016-01-28 | 2 | -9/+16 |
| | | | | | | | | | | Vulkan does not allow resolving a single-sample image. So remove that pipeline from anv_meta_state::resolve::pipelines. | ||||
* | | anv/meta_resolve: Remove redundant initialization params | Chad Versace | 2016-01-28 | 1 | -18/+10 |
| | | |||||
* | | anv: Drop const on anv_framebuffer::attachments | Chad Versace | 2016-01-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The attachments should be const, but the driver's function signatures are generally not const-friendly. Drop the const because it conflicts with upcoming anv_cmd_buffer_resolve_subpass(). | ||||
* | | anv: Add anv_subpass::has_resolve | Chad Versace | 2016-01-28 | 2 | -2/+7 |
| | | | | | | | | Indicates that the subpass has at least one resolve attachment. | ||||
* | | anv/meta_resolve: Save/Restore viewport and scissor | Chad Versace | 2016-01-28 | 1 | -2/+21 |
| | | |||||
* | | anv/meta_resolve: Begin pass outside emit_resolve() | Chad Versace | 2016-01-28 | 1 | -45/+48 |
| | | | | | | | | This refactor is preparation for handling subpass resolve attachments. | ||||
* | | anv/image: Update usage flags for multisample images | Chad Versace | 2016-01-28 | 1 | -0/+6 |
| | | | | | | | | | | Meta resolves multisample images by binding them as textures. Therefore we must add VK_IMAGE_USAGE_SAMPLED_BIT. | ||||
* | | anv/device: Add a better version check. | Jason Ekstrand | 2016-01-28 | 1 | -1/+4 |
| | | | | | | | | | | We now check that the requested version is precicely within the range of versions that we support. |