Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | anv/meta: Modify blitter API fields | Nanley Chery | 2016-03-03 | 1 | -18/+5 |
| | | | | | | | | | | Some fields are unnecessary. The variables "pitch" and "bs" are used for consistency with ISL. v2: Keep pitch in units of bytes (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv/meta: Add the beginnings of a blitter API | Jason Ekstrand | 2016-03-03 | 1 | -0/+48 |
| | | | | | | | | | | This API is designed to be an abstraction that sits between the VkCmdCopy commands and the hardware. The idea is that it is simple enough that it *should* be implementable using the blitter but with enough extra data that we can implement it with the 3-D pipeline efficiently. One design objective is to allow the user to supply enough information that we can handle most blit operations with a single draw call even if they require copying multiple rectangles. | ||||
* | anv/meta: Remove redundancies in do_buffer_copy() | Nanley Chery | 2016-03-03 | 1 | -28/+18 |
| | | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv/meta: Replace copy_format w/ block size in do_buffer_copy() | Nanley Chery | 2016-03-03 | 1 | -11/+6 |
| | | | | | | | | This is a preparatory commit that will simplify the future usage of this function. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv/meta: Add missing command to exit meta in anv_CmdUpdateBuffer() | Nanley Chery | 2016-03-03 | 1 | -0/+2 |
| | | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv/image: Create a linear image when requested | Nanley Chery | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | If a linear image is requested, the only possible result should be a linearly-tiled surface. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | isl: Don't filter tiling flags if a specific tiling bit is set | Nanley Chery | 2016-03-03 | 1 | -5/+8 |
| | | | | | | | | If a specific bit is set, the intention to create a surface with a specific tiling format should be respected. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | isl: Add function to get intratile offsets from x/y offsets | Nanley Chery | 2016-03-03 | 2 | -12/+43 |
| | | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv/util: Fix vector resizing | Jason Ekstrand | 2016-03-03 | 1 | -12/+19 |
| | | | | | It wasn't properly handling the fact that wrap-around in the source may not translate to wrap-around in the destination. This really needs unit tests. | ||||
* | anv/gen7: Use predicated rendering for indirect compute | Jordan Justen | 2016-03-02 | 1 | -0/+45 |
| | | | | | | | | | | For OpenGL, see commit 9a939ebb47a0d37a6b29e3dbb1b20bdc9538a721. Fixes: * dEQP-VK.compute.indirect_dispatch.upload_buffer.empty_command * dEQP-VK.compute.indirect_dispatch.gen_in_compute.empty_command Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv: Save batch to local variable for indirect compute | Jordan Justen | 2016-03-02 | 1 | -5/+6 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv: Fix make check | Jason Ekstrand | 2016-03-02 | 2 | -7/+10 |
| | |||||
* | isl: Fix make check | Jason Ekstrand | 2016-03-02 | 1 | -0/+1 |
| | |||||
* | gen8/cmd_buffer: Properly return flushed push constant stages | Jason Ekstrand | 2016-03-02 | 1 | -1/+3 |
| | | | | | This is required on SKL so that we can properly re-emit binding table pointers commands. | ||||
* | anv/meta_blit: Use unorm formats for 8 and 16-bit RGB and RGBA values | Jason Ekstrand | 2016-03-01 | 1 | -7/+16 |
| | | | | | | While Broadwell is very good about UINT formats, HSW is more restrictive. Neither R8G8B8_UINT nor R16G16B16_UINT really exist on HSW. It should be safe to just use the unorm formats. | ||||
* | Merge remote-tracking branch 'origin/master' into vulkan | Kenneth Graunke | 2016-03-01 | 1 | -7/+2 |
| | |||||
* | genxml: Make the border color pointer consistent across gens | Jason Ekstrand | 2016-03-01 | 3 | -7/+3 |
| | |||||
* | gen7/pipeline: Add competent blending | Jason Ekstrand | 2016-03-01 | 1 | -43/+45 |
| | | | | | This is mostly a copy-and-paste from gen8. Blending still isn't 100% but it fixes about 1100 CTS blend tests on HSW. | ||||
* | anv: Unify gen7 and gen8 state | Jason Ekstrand | 2016-03-01 | 4 | -202/+72 |
| | | | | | Now that we've pulled surface state setup into ISL, there's not much to do here. | ||||
* | anv/cmd_buffer: Look at both sides for stencil enable | Jason Ekstrand | 2016-03-01 | 2 | -6/+4 |
| | | | | Now it's all consistent with gen9 | ||||
* | anv/cmd_buffer: Clean up stencil state setup on gen7 | Jason Ekstrand | 2016-03-01 | 1 | -12/+8 |
| | |||||
* | anv/cmd_buffer: Clean up stencil state setup on gen8 | Jason Ekstrand | 2016-03-01 | 1 | -16/+11 |
| | |||||
* | anv: Add in image->offset when setting up depth buffer | Kristian Høgsberg Kristensen | 2016-03-01 | 1 | -1/+1 |
| | | | | | | Fix from Neil Roberts. https://bugs.freedesktop.org/show_bug.cgi?id=94348 | ||||
* | anv/pipeline: Pull 3DSTATE_SBE into a shared helper | Jason Ekstrand | 2016-03-01 | 3 | -111/+111 |
| | |||||
* | genxml: Break output detail of 3DSTATE_SBE on gen7 into a struct | Jason Ekstrand | 2016-02-29 | 2 | -70/+46 |
| | | | | | This makes it work like 3DSTATE_SBE_SWIZ on gen8+ which is much more convenient. | ||||
* | anv/cmd_buffer: Dirty push constants when changing pipelines. | Jason Ekstrand | 2016-02-29 | 2 | -0/+22 |
| | |||||
* | anv/cmd_buffer: Re-emit push constants packets for all stages | Jason Ekstrand | 2016-02-29 | 2 | -24/+24 |
| | |||||
* | anv/pipeline: Follow push constant alignment restrictions on BDW+ and HSW gt3 | Jason Ekstrand | 2016-02-29 | 1 | -1/+8 |
| | |||||
* | anv/pipeline: Avoid a division by zero | Jason Ekstrand | 2016-02-29 | 1 | -1/+1 |
| | |||||
* | anv/pipeline: Use dynamic checks for max push constants | Jason Ekstrand | 2016-02-29 | 1 | -7/+8 |
| | | | | | The GEN_GEN macros aren't available in anv_pipeline since it only gets compiled once for the whold driver. | ||||
* | isl/surface_state: Fix array spacing on Gen7 | Nanley Chery | 2016-02-29 | 1 | -0/+5 |
| | | | | | | | v2: Don't cast the enum to a boolean (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | anv: Don't advertise pipelineStatisticsQuery | Kristian Høgsberg Kristensen | 2016-02-29 | 1 | -1/+1 |
| | | | | | | We don't support that just yet. Reported-by: Jacek Konieczny <[email protected]> | ||||
* | anv: Set CURBEAllocationSize in MEDIA_VFE_STATE | Jordan Justen | 2016-02-28 | 1 | -13/+22 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Enable SLM in L3 cache control register | Jordan Justen | 2016-02-28 | 1 | -0/+62 |
| | | | | | | Port 1983003 to gen7. Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/pipeline: Set URB offset to zero if size is zero | Jordan Justen | 2016-02-28 | 1 | -2/+3 |
| | | | | | | | | | | | | | After 3ecd357d816dc71b2c6ebd6ace38c76ebb25674e, it may be possible for the VS to get assigned all of the URB space. On Ivy Bridge, this will cause the offset for the other stages to be 16, which cannot be packed into the ConstantBufferOffset field of 3DSTATE_PUSH_CONSTANT_ALLOC_*. Instead we can set the offset to zero if the stage size is zero. Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/pipeline: Set FS URB space to zero if the FS is unused | Jordan Justen | 2016-02-28 | 1 | -1/+4 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/pipeline: Set stage URB size to zero if it is unused | Jordan Justen | 2016-02-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Jordan Justen <[email protected]> | ||||
* | anv/gen7: Clean up the dummy PS case | Jason Ekstrand | 2016-02-27 | 1 | -19/+13 |
| | | | | Fix whitespace and remove dead comments | ||||
* | anv/gen7: Set MaximumNumberofThreads in the dummy PS packet | Jason Ekstrand | 2016-02-27 | 1 | -1/+5 |
| | |||||
* | anv/gen7: Only try to get the depth format the surface has depth | Jason Ekstrand | 2016-02-27 | 1 | -1/+4 |
| | |||||
* | anv/image: Use isl for filling brw_image_param | Jason Ekstrand | 2016-02-27 | 1 | -111/+6 |
| | |||||
* | isl: Add helpers for filling out brw_image_param | Jason Ekstrand | 2016-02-27 | 2 | -1/+118 |
| | |||||
* | anv: Fill out image_param structs at view creation time | Jason Ekstrand | 2016-02-27 | 3 | -4/+12 |
| | |||||
* | anv/image: Add a ussage_mask field to image_view_init | Jason Ekstrand | 2016-02-27 | 5 | -19/+21 |
| | | | | | | | | This allows us to avoid doing some unneeded work on the meta paths where we know that the image view will be used for exactly one thing. The meta paths also sometimes do things that aren't quite valid like setting the array slice on a 3-D texture and we want to limit the number of paths that need to be able to sensibly handle the lies. | ||||
* | isl: Move isl_image.c to isl_storage_image.c | Jason Ekstrand | 2016-02-27 | 2 | -1/+1 |
| | |||||
* | anv: Use isl to fill buffer surface states | Jason Ekstrand | 2016-02-27 | 3 | -81/+6 |
| | |||||
* | isl: Add a helper for filling a buffer surface state | Jason Ekstrand | 2016-02-27 | 4 | -0/+121 |
| | |||||
* | anv: Remove unneeded fiels from anv_image_view | Jason Ekstrand | 2016-02-27 | 2 | -8/+6 |
| | |||||
* | anv/state: Remove unused fill_surface_state functions | Jason Ekstrand | 2016-02-27 | 3 | -419/+0 |
| | |||||
* | anv: Use ISL to fill out surface states | Jason Ekstrand | 2016-02-27 | 1 | -71/+79 |
| |