Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vk: Add SKL support | Kristian Høgsberg Kristensen | 2015-11-25 | 10 | -172/+366 |
| | | | | Signed-off-by: Kristian Høgsberg Kristensen <[email protected]> | ||||
* | vk: Make entrypoint generator output gen9 entry points | Kristian Høgsberg Kristensen | 2015-11-25 | 1 | -1/+6 |
| | | | | Signed-off-by: Kristian Høgsberg Kristensen <[email protected]> | ||||
* | vk: Add GEN9 pack header | Kristian Høgsberg Kristensen | 2015-11-25 | 1 | -0/+9767 |
| | |||||
* | vk: Move all gen8 files to gen8 lib | Kristian Høgsberg Kristensen | 2015-11-25 | 1 | -5/+5 |
| | |||||
* | Merge remote-tracking branch 'mesa-public/master' into vulkan | Jason Ekstrand | 2015-11-23 | 1 | -14/+3 |
| | | | | This pulls in nir cloning and some much-needed upstream refactors. | ||||
* | anv/meta_clear: Don't trash state if no clears are needed | Jason Ekstrand | 2015-11-21 | 1 | -0/+26 |
| | |||||
* | anv/meta_clear: Don't try to clear depth-stencil without LOAD_OP_CLEAR | Jason Ekstrand | 2015-11-21 | 1 | -5/+7 |
| | |||||
* | anv/meta: Add initial support for multi-slice array and 3-D copies | Jason Ekstrand | 2015-11-20 | 1 | -148/+200 |
| | | | | | We still need to fix up a few bits once we have real CPP values, but this should get us a long ways. | ||||
* | anv/meta: Use array textures for 2D | Jason Ekstrand | 2015-11-20 | 1 | -10/+3 |
| | | | | | This a total of 1 extra instruction in the shader and gives us a lot more flexibility in how we do blits. | ||||
* | anv/meta: Keep z coordinate flat while blitting | Jason Ekstrand | 2015-11-20 | 1 | -2/+2 |
| | |||||
* | gen8_state: Clamp sampler values to HW limitations | Jason Ekstrand | 2015-11-20 | 2 | -3/+16 |
| | |||||
* | gen8/pipeline: Properly handle MIN/MAX blend ops | Jason Ekstrand | 2015-11-20 | 1 | -0/+17 |
| | |||||
* | gen8/pipeline: Set IndependentAlphaBlendEnable properly | Jason Ekstrand | 2015-11-20 | 1 | -0/+6 |
| | |||||
* | gen8/pipeline: Minor blending fixes | Jason Ekstrand | 2015-11-20 | 1 | -2/+4 |
| | | | | This makes various fields match upstream mesa | ||||
* | anv: Put all of the descriptor set stuff together in one file | Jason Ekstrand | 2015-11-18 | 4 | -464/+504 |
| | | | | | | The stuff to take descriptor sets and turn them into binding tables and sampler tables is still in anv_cmd_buffer.c. We may want to consider putting it in anv_descriptor_set.c eventually. | ||||
* | anv/device: Update the right sampler in UpdateDescriptorSets | Jason Ekstrand | 2015-11-18 | 1 | -1/+1 |
| | |||||
* | anv/cmd_buffer: Add a new genX_cmd_buffer file for shared code | Jason Ekstrand | 2015-11-18 | 6 | -449/+286 |
| | | | | | | | | | | | This file contains code that can be shared across gens modulo recompiling. In particular, we can share STATE_BASE_ADDRESS setup and handling of the vkPipelineBarrier call. Not sharing STATE_BASE_ADDRESS setup has already been a source of bugs and the gen7 and gen8 implementations of PipelineBarrier were line-for-line identical. Incidentally, this should fix MOCS settings for dynamic and surface state on Haswell. | ||||
* | anv/gen7: A bunch of depth-stencil fixes | Jason Ekstrand | 2015-11-18 | 3 | -13/+15 |
| | | | | | | There are various bits which move around between Haswell and Ivy Bridge that we weren't taking into account. This also makes us actually set the StencilWriteEnable in a sane way. | ||||
* | gen7/pipeline: Re-arrange stencil parameters to match gen8 | Jason Ekstrand | 2015-11-17 | 1 | -11/+10 |
| | |||||
* | anv/gen7: Implement CmdPipelineBarrier | Jason Ekstrand | 2015-11-17 | 1 | -1/+128 |
| | |||||
* | anv/gen7: Don't use the upper bound on dynamic state base address | Jason Ekstrand | 2015-11-17 | 1 | -3/+0 |
| | | | | | It doesn't do much for us and, if we have to resize the dynamic state block pool for any reason, it becomes out-of-date. | ||||
* | anv: Add initial Haswell support | Jason Ekstrand | 2015-11-17 | 8 | -77/+171 |
| | |||||
* | anv: Add macros for doing per-gen compilation | Jason Ekstrand | 2015-11-17 | 2 | -11/+169 |
| | |||||
* | anv/entrypoints: Add dispatch support for haswell | Jason Ekstrand | 2015-11-17 | 1 | -1/+5 |
| | |||||
* | anv/entrypoints: Use devinfo instead of a gen number | Jason Ekstrand | 2015-11-17 | 2 | -6/+11 |
| | |||||
* | anv/cmd_buffer: Pack the 3DSTATE_VF packet on-demand | Jason Ekstrand | 2015-11-17 | 4 | -16/+12 |
| | |||||
* | anv/formats: Don't advertise stencil texture/blit prior to Broadwell | Jason Ekstrand | 2015-11-17 | 1 | -2/+4 |
| | |||||
* | anv: Only include the pack headers where needed | Jason Ekstrand | 2015-11-16 | 12 | -27/+46 |
| | | | | | | | Previously, we were including gen7_pack.h, gen75_pack.h, and gen8_pack.h in anv_private.h. As we add more gens, this is going to become untenable. This commit moves things around so that we only use the pack headers when and if we need them. | ||||
* | anv/cmd_buffer: Move gen-specific stuff into the appropreate files | Jason Ekstrand | 2015-11-16 | 4 | -236/+240 |
| | |||||
* | anv/cmd_buffer: Add a default descriptor type case | Jason Ekstrand | 2015-11-14 | 1 | -0/+4 |
| | | | | This silences a bunch of compiler warnings. | ||||
* | anv/apply_pipeline_layout: Handle separate samplers and textures | Jason Ekstrand | 2015-11-14 | 1 | -17/+73 |
| | |||||
* | anv/gen8: Subtract 1 from num_elements when setting up buffer surface state | Jason Ekstrand | 2015-11-13 | 1 | -3/+3 |
| | |||||
* | anv/pipeline: Don't free blend states that don't exist | Jason Ekstrand | 2015-11-13 | 2 | -1/+4 |
| | | | | | Compute pipelines don't need a blend state so we shouldn't be unconditionally freeing it. | ||||
* | isl: Embed brw_device_info in isl_device | Chad Versace | 2015-11-13 | 3 | -17/+9 |
| | | | | Suggested-by: Jason Ekstrand <[email protected]> | ||||
* | anv: Use enum isl_tiling everywhere | Chad Versace | 2015-11-13 | 7 | -36/+49 |
| | | | | | | | | | In anv_surface and anv_image_create_info, replace member 'uint8_t tile_mode' with 'enum isl_tiling'. As a nice side-effect, this patch also reduces bug potential because the hardware enum values for tile modes are unstable across hardware generations. | ||||
* | anv/device: Embed isl_device | Chad Versace | 2015-11-13 | 2 | -0/+10 |
| | | | | | Embed struct isl_device into anv_physical_device and anv_device. It will later be used for surface layout calculations. | ||||
* | isl: Add enum isl_tiling and a query func | Chad Versace | 2015-11-13 | 2 | -0/+77 |
| | | | | The query func is isl_tiling_get_extent. | ||||
* | isl: Add structs isl_extent2d, isl_extent3d | Chad Versace | 2015-11-13 | 1 | -0/+11 |
| | | | | They are nowhere used yet. | ||||
* | isl: Add struct isl_device | Chad Versace | 2015-11-13 | 3 | -0/+48 |
| | | | | | | | The struct is incomplete (it contains only the gen). And it's nowhere used yet. It will be used later for surface layout calculations. | ||||
* | anv: Strip trailing whitespace from anv_device.c | Chad Versace | 2015-11-13 | 1 | -4/+4 |
| | |||||
* | anv: Strip trailing space in anv_private.h | Chad Versace | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | anv: Remove redundant fields anv_format::bs,bw,bh,bd | Chad Versace | 2015-11-12 | 4 | -123/+127 |
| | | | | Instead, use the equivalent fields in anv_format::isl_layout. | ||||
* | anv/formats: Re-indent the fmt() macro | Chad Versace | 2015-11-12 | 1 | -1/+7 |
| | | | | Use one line per struct member. | ||||
* | anv: Use enum isl_format in anv_format | Chad Versace | 2015-11-12 | 2 | -181/+179 |
| | | | | | | | This patch begins using isl.h in Anvil. More refactors will follow. Change type of anv_format::surface_format from uint16_t -> enum isl_format. | ||||
* | isl: Generate isl_format_layout.c | Chad Versace | 2015-11-12 | 4 | -3/+209 |
| | | | | | | | | | | | | | | | | | | | | | | | | Generate an array of struct isl_format_layout, using isl_format_layout.csv as input. Each entry follows the patten: [ISL_FORMAT_R32G32B32A32_FLOAT] = { ISL_FORMAT_R32G32B32A32_FLOAT, .bs = 16, .bpb = 128, .bw = 1, .bh = 1, .bd = 1, .channels = { .r = { ISL_SFLOAT, 32 }, .g = { ISL_SFLOAT, 32 }, .b = { ISL_SFLOAT, 32 }, .a = { ISL_SFLOAT, 32 }, .l = {}, .i = {}, .p = {}, }, .colorspace = ISL_COLORSPACE_LINEAR, .txc = ISL_TXC_NONE, }, | ||||
* | isl: Add CSV of format layouts | Chad Versace | 2015-11-12 | 1 | -0/+287 |
| | | | | | Add file isl_format_layout.csv, which describes the block layout, channel layout, and colorspace of all hardware surface formats. | ||||
* | isl: Add enum isl_format | Chad Versace | 2015-11-12 | 1 | -0/+270 |
| | |||||
* | anv/gen7: Implement the VS state depth-stall workaround | Jason Ekstrand | 2015-11-10 | 4 | -0/+38 |
| | |||||
* | anv/gen7: Properly handle a GS with zero invocations | Jason Ekstrand | 2015-11-10 | 1 | -1/+1 |
| | |||||
* | anv/gen7: Add push constant support | Jason Ekstrand | 2015-11-10 | 1 | -0/+37 |
| |