Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vk/cmd_buffer: Properly initialize/reset dynamic states | Jason Ekstrand | 2015-06-09 | 1 | -0/+6 |
| | |||||
* | vk/pipeline: Zero out the depth-stencil state when not in use | Jason Ekstrand | 2015-06-09 | 1 | -5/+10 |
| | |||||
* | vk/device: Use anv_CreateDynamicViewportState instead of the vk one | Jason Ekstrand | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | vk/device: Dedent the vkCreateDynamicViewportState call | Jason Ekstrand | 2015-06-09 | 1 | -19/+19 |
| | |||||
* | vk/util: Annotate anv_finishme() as printflike | Chad Versace | 2015-06-09 | 2 | -2/+3 |
| | |||||
* | vk: Define anv_printflike() macro | Chad Versace | 2015-06-09 | 1 | -0/+2 |
| | |||||
* | vk/image: Stop hardcoding alignment of stencil surfaces | Chad Versace | 2015-06-09 | 1 | -1/+1 |
| | | | | Look up the alignment from anv_tile_info_table. | ||||
* | vk/image: Rewrite tile info table | Chad Versace | 2015-06-09 | 1 | -24/+31 |
| | | | | | | - Reduce the number of table lookups in anv_image_create from 4 to 1. - Add field for surface alignment. - Shorten field names tile_width, tile_height -> width, height. | ||||
* | vk/image: Delete an old comment | Chad Versace | 2015-06-09 | 1 | -2/+0 |
| | |||||
* | vk/compiler: Free the GL errors data | Jason Ekstrand | 2015-06-09 | 1 | -0/+1 |
| | |||||
* | vk/compiler: Free more of prog_data when tearing down a pipeline | Jason Ekstrand | 2015-06-09 | 1 | -2/+6 |
| | |||||
* | vk/queue: Embed the queue in and allocate it with the device | Jason Ekstrand | 2015-06-09 | 2 | -35/+55 |
| | |||||
* | vk/device: Free border color states when we have valgrind | Jason Ekstrand | 2015-06-09 | 1 | -0/+10 |
| | |||||
* | vk/device: Destroy all batch buffers | Jason Ekstrand | 2015-06-09 | 1 | -2/+2 |
| | | | | | Due to a copy+paste error, we were destroying all but the first batch or surface state buffer. Now we destroy them all. | ||||
* | vk/meta: Clean up temporary objects | Jason Ekstrand | 2015-06-09 | 3 | -10/+50 |
| | |||||
* | vk/surface_view: Add a destructor | Jason Ekstrand | 2015-06-09 | 3 | -3/+29 |
| | |||||
* | vk/image: Add anv_image::h_align,v_align | Chad Versace | 2015-06-09 | 2 | -4/+35 |
| | | | | | Use the new fields to compute RENDER_SURFACE_STATE.Surface*Alignment. We still hardcode them to 4, though. | ||||
* | vk/allocator: Remove the concept of a slave block pool | Jason Ekstrand | 2015-06-08 | 2 | -42/+0 |
| | | | | This reverts commit d24f8245db3418d8d146f373e085780d2217335c. | ||||
* | vk/device: Remove the binding table pools/streams | Jason Ekstrand | 2015-06-08 | 2 | -14/+0 |
| | |||||
* | vk/pipeline: Move freeing the program stream to pipeline.c | Jason Ekstrand | 2015-06-08 | 2 | -2/+1 |
| | | | | It's created in pipeline.c so we should free it there. | ||||
* | vk/pipeline: Don't destroy the program stream | Jason Ekstrand | 2015-06-08 | 1 | -1/+0 |
| | | | | It's freed in compiler.cpp and we don't want to free it twice. | ||||
* | vk/allocator: Make the use of NULL_BLOCK in state_stream_finish explicit | Jason Ekstrand | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | vk: Quiet a few warnings | Kristian Høgsberg Kristensen | 2015-06-08 | 3 | -3/+3 |
| | |||||
* | vk: Create a minimal context for the compiler | Kristian Høgsberg Kristensen | 2015-06-08 | 3 | -20/+51 |
| | | | | | | This avoids the full brw context initialization and just sets up context constants, initializes extensions and sets a few driver vfuncs for the front-end GLSL compiler. | ||||
* | vk/cmd_buffer: Use the dynamic state stream in emit_dynamic and merge_dynamic | Jason Ekstrand | 2015-06-05 | 1 | -5/+6 |
| | |||||
* | vk/device: Use a 64-byte alignment for CC state | Jason Ekstrand | 2015-06-05 | 1 | -3/+3 |
| | |||||
* | vk/pipeline: Actually free the program stream and dynamic pool | Jason Ekstrand | 2015-06-05 | 1 | -0/+2 |
| | |||||
* | vk/allocator: Avoid double-free in the bo pool | Jason Ekstrand | 2015-06-05 | 1 | -4/+11 |
| | |||||
* | vk/gem: Call VALGRIND_FREELIKE_BLOCK before unmapping | Jason Ekstrand | 2015-06-05 | 1 | -1/+1 |
| | |||||
* | vk: Fix 2 incorrect typecasts | Chad Versace | 2015-06-04 | 1 | -2/+2 |
| | | | | | The compiler didn't find the cast errors because all Vulkan types are just integers. | ||||
* | vk: Make `make clean` remove generated spirv headers | Chad Versace | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | vk/allocator: Remove an unneeded VG() wrapper | Jason Ekstrand | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | vk/device: Dissalow device destruction | Jason Ekstrand | 2015-06-04 | 1 | -0/+3 |
| | |||||
* | vk: Fix build | Chad Versace | 2015-06-04 | 1 | -2/+1 |
| | | | | | Commit 1286bd, which deleted vk.c, broke the build. Update the Makefile to fix it. | ||||
* | vk/DS: Mask stencil masks to 8 bits | Jason Ekstrand | 2015-06-03 | 1 | -4/+4 |
| | |||||
* | vk: Set color/blend state in meta clear if not set yet | Kristian Høgsberg Kristensen | 2015-06-02 | 1 | -0/+5 |
| | |||||
* | vk: Delete vk.c test case | Kristian Høgsberg Kristensen | 2015-06-02 | 3 | -1585/+0 |
| | | | | | We now have crucible up and running and all vk sub-cases have been moved over. Delete this crufty old hack of a test case. | ||||
* | vk: Update generated headers with support for 64 bit fields | Kristian Høgsberg Kristensen | 2015-06-02 | 3 | -134/+209 |
| | |||||
* | vk: Set cb_state to NULL at cmd buffer create time | Kristian Høgsberg Kristensen | 2015-06-02 | 1 | -0/+1 |
| | | | | | | | Dynamic color/blend state can be NULL in case we're not rendering to color targets (only output to depth and/or stencil). Initialize cmd_buffer->cb_state to NULL so we can reliably detect whether it's been set or not. | ||||
* | vk: Implement vertexOffset parameter of vkCmdDrawIndexed() | Kristian Høgsberg Kristensen | 2015-06-02 | 1 | -1/+1 |
| | | | | | As exposed by the func.draw_indexed test, we were ignoring the argument and hardcoding 0. | ||||
* | vk/formats: Add a name to the metadata and better logging | Jason Ekstrand | 2015-06-02 | 2 | -1/+14 |
| | |||||
* | vk/formats: Rework the formats table | Jason Ekstrand | 2015-06-02 | 1 | -174/+177 |
| | |||||
* | vk: Move query related functionality to new file query.c | Kristian Høgsberg Kristensen | 2015-06-01 | 4 | -329/+358 |
| | |||||
* | vk/compiler: Add an index_count to the bind map and check for OOB | Jason Ekstrand | 2015-06-01 | 1 | -1/+4 |
| | |||||
* | vk/HACK: Plumb real descriptor set/index into textures | Jason Ekstrand | 2015-06-01 | 1 | -2/+0 |
| | |||||
* | vk: Indent tables to align '=' at column 48 | Kristian Høgsberg Kristensen | 2015-05-31 | 3 | -75/+75 |
| | |||||
* | vk: Add support for anisotropic bits | Kristian Høgsberg Kristensen | 2015-05-31 | 1 | -7/+15 |
| | |||||
* | vk: Implement support for sampler border colors | Kristian Høgsberg Kristensen | 2015-05-31 | 2 | -1/+39 |
| | | | | | | This supports the three Vulkan border color types for float color formats. The support for integer formats is a little trickier, as we don't know the format of the texture at this time. | ||||
* | vk/device: Only flush the texture cache when setting state base address | Jason Ekstrand | 2015-05-30 | 1 | -11/+3 |
| | | | | | After further examination, it appears that the other flushes and stalls weren't actually needed. | ||||
* | vk/cmd_buffer: Track descriptor set dirtying per-stage | Jason Ekstrand | 2015-05-30 | 3 | -10/+19 |
| |