summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* vk: Use generated headers with fixed point supportKristian Høgsberg Kristensen2015-06-115-283/+283
| | | | | The generated headers now convert float in the template struct to the correct fixed point format.
* vk: Regenerate headers with __gen_validate_value()Kristian Høgsberg Kristensen2015-06-112-0/+14
|
* vk/formats: Refactor format properties codeJason Ekstrand2015-06-111-17/+33
| | | | | Along with the refactor, we now do the right thing when we hit an unsupported format: Set the flags to 0 and return VK_SUCCESS.
* vk/image: Add a bunch of assertsJason Ekstrand2015-06-101-0/+26
|
* vk: Add a couple vk_error callsJason Ekstrand2015-06-102-2/+2
|
* vk/private: Add a non-fatal assertJason Ekstrand2015-06-101-0/+10
|
* vk/cmd: Add an initial implementation of PipelineBarrierJason Ekstrand2015-06-101-1/+113
| | | | | We may want to do something more inteligent here later such as actually handling image layout transitions. However, this should do for now.
* vk/emit: Use valgrind to validate every packed fieldJason Ekstrand2015-06-102-1/+8
|
* vk: Add valgrind checks in various emit functionsJason Ekstrand2015-06-092-0/+7
| | | | | | The check in batch_bo_finish should catch any undefined values in the batch but isn't that great for debugging. The checks in the various emit functions will help get better granularity.
* vk: Move the valgrind include and VG() macro to private.hJason Ekstrand2015-06-093-12/+8
|
* vk/image: Don't double-allocate stencil buffersChad Versace2015-06-091-1/+1
| | | | | If the main surface has format S8_UINT, then don't allocate the auxiliary stencil surface.
* vk/image: Teach anv_image_choose_tile_mode about WMAJORChad Versace2015-06-091-1/+8
|
* vk/util: Add anv_abortf(), anv_abortfv()Chad Versace2015-06-092-0/+22
| | | | Convenience functions to print an error message then abort.
* vk: Define anv_noreturn macroChad Versace2015-06-091-0/+1
|
* vk/image: Factor tile mode selection into separate functionChad Versace2015-06-091-15/+19
| | | | Because it will eventually need to get smarter.
* vk/device: Actually allow destructionJason Ekstrand2015-06-091-3/+0
|
* vk/cmd_buffer: Properly initialize/reset dynamic statesJason Ekstrand2015-06-091-0/+6
|
* vk/pipeline: Zero out the depth-stencil state when not in useJason Ekstrand2015-06-091-5/+10
|
* vk/device: Use anv_CreateDynamicViewportState instead of the vk oneJason Ekstrand2015-06-091-1/+1
|
* vk/device: Dedent the vkCreateDynamicViewportState callJason Ekstrand2015-06-091-19/+19
|
* vk/util: Annotate anv_finishme() as printflikeChad Versace2015-06-092-2/+3
|
* vk: Define anv_printflike() macroChad Versace2015-06-091-0/+2
|
* vk/image: Stop hardcoding alignment of stencil surfacesChad Versace2015-06-091-1/+1
| | | | Look up the alignment from anv_tile_info_table.
* vk/image: Rewrite tile info tableChad Versace2015-06-091-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 commentChad Versace2015-06-091-2/+0
|
* vk/compiler: Free the GL errors dataJason Ekstrand2015-06-091-0/+1
|
* vk/compiler: Free more of prog_data when tearing down a pipelineJason Ekstrand2015-06-091-2/+6
|
* vk/queue: Embed the queue in and allocate it with the deviceJason Ekstrand2015-06-092-35/+55
|
* vk/device: Free border color states when we have valgrindJason Ekstrand2015-06-091-0/+10
|
* vk/device: Destroy all batch buffersJason Ekstrand2015-06-091-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 objectsJason Ekstrand2015-06-093-10/+50
|
* vk/surface_view: Add a destructorJason Ekstrand2015-06-093-3/+29
|
* vk/image: Add anv_image::h_align,v_alignChad Versace2015-06-092-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 poolJason Ekstrand2015-06-082-42/+0
| | | | This reverts commit d24f8245db3418d8d146f373e085780d2217335c.
* vk/device: Remove the binding table pools/streamsJason Ekstrand2015-06-082-14/+0
|
* vk/pipeline: Move freeing the program stream to pipeline.cJason Ekstrand2015-06-082-2/+1
| | | | It's created in pipeline.c so we should free it there.
* vk/pipeline: Don't destroy the program streamJason Ekstrand2015-06-081-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 explicitJason Ekstrand2015-06-081-1/+1
|
* vk: Quiet a few warningsKristian Høgsberg Kristensen2015-06-083-3/+3
|
* vk: Create a minimal context for the compilerKristian Høgsberg Kristensen2015-06-087-29/+70
| | | | | | 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_dynamicJason Ekstrand2015-06-051-5/+6
|
* vk/device: Use a 64-byte alignment for CC stateJason Ekstrand2015-06-051-3/+3
|
* vk/pipeline: Actually free the program stream and dynamic poolJason Ekstrand2015-06-051-0/+2
|
* vk/allocator: Avoid double-free in the bo poolJason Ekstrand2015-06-051-4/+11
|
* vk/gem: Call VALGRIND_FREELIKE_BLOCK before unmappingJason Ekstrand2015-06-051-1/+1
|
* vk: Fix 2 incorrect typecastsChad Versace2015-06-041-2/+2
| | | | | The compiler didn't find the cast errors because all Vulkan types are just integers.
* vk: Make `make clean` remove generated spirv headersChad Versace2015-06-041-1/+1
|
* vk/allocator: Remove an unneeded VG() wrapperJason Ekstrand2015-06-041-1/+1
|
* vk/device: Dissalow device destructionJason Ekstrand2015-06-041-0/+3
|
* vk: Fix buildChad Versace2015-06-041-2/+1
| | | | | Commit 1286bd, which deleted vk.c, broke the build. Update the Makefile to fix it.