summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* anv/cmd_buffer: Reset the state streams when resetting the command bufferJason Ekstrand2016-03-041-0/+8
|
* anv/cmd_buffer: Include Haswell in set_subpassJason Ekstrand2016-03-041-1/+5
|
* isl: Fix RenderTargetViewExtent for mipmapped 3D surfacesNanley Chery2016-03-041-1/+2
| | | | | | | Match the comment stated above the assignment. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* isl: Get rid of isl_surf_fill_state_info::level0_extent_pxNanley Chery2016-03-043-43/+7
| | | | | | | This field is no longer needed. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/cmd_buffer: Let the pipeline set StencilBufferWriteEnable on gen9Jason Ekstrand2016-03-041-3/+0
|
* anv/cmd_buffer: Mask stencil reference valuesJason Ekstrand2016-03-042-6/+6
|
* anv/clear: Pull the stencil write mask from the pipelineJason Ekstrand2016-03-041-2/+3
| | | | | The stencil write mask wasn't getting set at all so we were using whatever write mask happend to be left over by the application.
* anv/pipeline: Set StencilBufferWriteEnable from the pipelineJason Ekstrand2016-03-044-6/+2
| | | | | The hardware docs say that StencilBufferWriteEnable should only be set if StencilTestEnable is set. It seems reasonable to set them together.
* anv/pipeline: More competent gen8 clippingJason Ekstrand2016-03-041-0/+14
|
* anv/pipeline: Use the right provoking vertex for triangle fansJason Ekstrand2016-03-042-3/+3
|
* anv/pipeline: Respect pRasterizationState->depthBiasEnableJason Ekstrand2016-03-044-12/+6
|
* anv: Fix backwards shadow comparisonsKenneth Graunke2016-03-041-10/+21
| | | | | | | | | | sample_c is backwards from what GL and Vulkan expect. See intel_state.c in i965. v2: Drop unused vk_to_gen_compare_op. Reviewed-by: Jason Ekstrand <[email protected]>
* hack to make dota 2 menus workKenneth Graunke2016-03-031-2/+2
|
* isl/surface_state: Set L2 bypass disable for certain BC* formatsJason Ekstrand2016-03-031-0/+22
|
* anv: Compile shader stages in pipeline order.Kenneth Graunke2016-03-031-22/+26
| | | | | | Instead of the arbitrary order modules might be specified in. Acked-by: Jason Ekstrand <[email protected]>
* anv/meta: Delete unused functionsNanley Chery2016-03-031-93/+0
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Use blitter API for state-handling in Buffer Update/CopyNanley Chery2016-03-031-4/+4
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Use blitter API in do_buffer_copy()Nanley Chery2016-03-031-73/+21
| | | | | | | v2: Keep pitch in units of bytes (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Use blitter API in anv_CmdCopyImage()Nanley Chery2016-03-031-71/+42
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Use blitter API for copies between Images and BuffersNanley Chery2016-03-031-208/+6
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Add function which copies between Buffers and ImagesNanley Chery2016-03-031-0/+92
| | | | | | | v2: Keep pitch in units of bytes (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Add function to create anv_meta_blit2d_surf from anv_imageNanley Chery2016-03-031-0/+13
| | | | | | | v2: Keep pitch in units of bytes (Jason) Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Implement the blitter API functionsNanley Chery2016-03-032-3/+145
| | | | | | | | | | | | | | | | | Most of the code in anv_meta_blit2d() is borrowed from do_buffer_copy(). Create an image and image view for each rectangle. Note: For tiled RGB images, ISL will align the image's row_pitch up to the nearest tile width. v2 (Jason): Keep pitch in units of bytes Make src_format and dst_format variables s/dest/dst/ in every usage v3: Fix dst_image width Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/meta: Modify blitter API fieldsNanley Chery2016-03-031-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 APIJason Ekstrand2016-03-031-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 Chery2016-03-031-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 Chery2016-03-031-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 Chery2016-03-031-0/+2
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/image: Create a linear image when requestedNanley Chery2016-03-031-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 setNanley Chery2016-03-031-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 offsetsNanley Chery2016-03-032-12/+43
| | | | | Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv/util: Fix vector resizingJason Ekstrand2016-03-031-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 computeJordan Justen2016-03-021-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 computeJordan Justen2016-03-021-5/+6
| | | | Signed-off-by: Jordan Justen <[email protected]>
* anv: Fix make checkJason Ekstrand2016-03-022-7/+10
|
* isl: Fix make checkJason Ekstrand2016-03-021-0/+1
|
* gen8/cmd_buffer: Properly return flushed push constant stagesJason Ekstrand2016-03-021-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 valuesJason Ekstrand2016-03-011-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 vulkanKenneth Graunke2016-03-01140-1896/+1468
|\
| * mesa: Remove NV_fragment_program remnants from dlist.c.Matt Turner2016-03-011-14/+7
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * mesa: Remove NV_fragment_program_option enable bit.Matt Turner2016-03-012-2/+0
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove NV_fragment_program opcode parsing.Matt Turner2016-03-012-9/+0
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove NV_fragment_program scalar suffix parsing.Matt Turner2016-03-011-17/+0
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove NV_fragment_program_option parsing support.Matt Turner2016-03-011-44/+5
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove NV_fragment_program Abs support.Matt Turner2016-03-0110-80/+4
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove incorrect comment about OPCODE_TXD.Matt Turner2016-03-011-1/+1
| | | | | | | | | | | | | | | | The table in prog_instruction.h is correct. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove OPCODE_TXP_NV.Matt Turner2016-03-015-30/+0
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Clean up after previous commit.Matt Turner2016-03-011-43/+41
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove condition-code and precision support.Matt Turner2016-03-0115-544/+62
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
| * program: Remove OPCODE_KIL_NV.Matt Turner2016-03-018-54/+6
| | | | | | | | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>