summaryrefslogtreecommitdiffstats
path: root/src/vulkan/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* isl: Generate isl_format_layout.cChad Versace2015-11-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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, },
* anv: Move meta clear code to new file anv_meta_clear.cChad Versace2015-11-041-0/+1
| | | | | | anv_meta.c currently handles blits, copies, clears, and resolves. The clear code is about to grow, and anv_meta.c is already busting at the seams.
* anv: Add better push constant supportJason Ekstrand2015-10-291-0/+1
| | | | | | | What we had before was kind of a hack where we made certain untrue assumptions about the incoming data. This new support, while it still doesn't support indirects properly (that will come), at least pulls the offsets and strides from SPIR-V like it's supposed to.
* anv/pass: Move VkRenderPass code to new fileChad Versace2015-10-291-0/+1
| | | | | Move it from anv_device.c to new file anv_pass.c. Because it will soon grow bigger.
* anv: Completely rework shader compilationJason Ekstrand2015-10-201-6/+1
| | | | | | | | | | | Now that we have a decent interface in upstream mesa, we can get rid of all our hacks. As of this commit, we no longer use any fake GL state objects and all of shader compilation is moved into anv_pipeline.c. This should make way for actually implementing a shader cache one of these days. As a nice side-benifit, this commit also gains us an extra 300 passing CTS tests because we're actually filling out the texture swizzle information for vertex shaders.
* Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-10-191-0/+1
|
* anv: Add facilities for dumping an image to a fileJason Ekstrand2015-10-161-0/+1
| | | | | | The ability to dump an arbitrary miplevel or array slice of an anv_image to a file is very useful for debugging. Nothing inside of the driver calls this right now, but it's very useful to call from GDB.
* anv/nir: Add a pass for applying a applying a pipeline layout to a shaderJason Ekstrand2015-10-141-0/+1
| | | | | This new pass lowers the _vk intrinsics which take a (set, binding, index) tripple to the single-index non-vk intrinsics based on the pipeline layout.
* Merge ../mesa into vulkanKristian Høgsberg Kristensen2015-10-081-1/+4
|
* vk/0.170.2: Update to the new VK_EXT_KHR_swapchain extensionsJason Ekstrand2015-10-081-2/+2
|
* vk: Drop -WextraChad Versace2015-10-071-2/+2
| | | | | | | | | | Eliminates lots of warnings due to anv_meta.c's inclusion of nir.h. I like the extra warnings, and they should probably get fixed. However, git-grep reveals that no other Mesa directory uses -Wextra. Building Vulkan produces a lot of compiler warnings from core Mesa headers that no other Mesa developer sees, and hence no other Mesa developer will fix.
* vk: Drop dependency on no longer extant headerChad Versace2015-10-051-2/+1
| | | | | | | | anv_meta no longer uses GLSL shaders, and the build system no longer converts them to SPIR-V. So remove anv_meta_spirv_autogen.h from Makefile.am. (cherry picked from commit 2fc8122f66331e76ac436ea77ad5b57a011b188a)
* anv: Remove the GLSL -> SPIR-V scraper/converterJason Ekstrand2015-10-021-3/+0
| | | | | | This was very useful to get us up-and-going. However, now that we can use NIR directly for meta shaders, we don't need this anymore and we might as well drop the glslc dependency.
* vk/compiler: Add a NIR pass for pushing dynamic buffer offsetJason Ekstrand2015-09-111-0/+1
| | | | This commit just adds the NIR pass but does none of the uniform setup
* vk: Actually link in wayland librariesJason Ekstrand2015-09-041-8/+20
| | | | Turns out this was why I had accidentally broken the universe. Oops...
* vk: Conditionally compile Wayland supportJason Ekstrand2015-09-041-1/+5
| | | | | | | Pulling in libwayland causes undefined symbols in applications that are linked against vulkan alone. Ideally, we would like to dlopen a platform support library or something like that. For now, this works and should get crucible running again.
* vk/wsi: Add Wayland WSI supportJason Ekstrand2015-09-041-0/+2
|
* vk: Add an initial implementation of the actual Khronos WSI extensionJason Ekstrand2015-09-041-1/+1
| | | | | | | | | | Unfortunately, this is a very large commit and removes the old LunarG WSI extension. This is because there are a couple of entrypoints that have the same name between the two extensions so implementing them both is impractiacl. Support is still incomplete, but this is enough to get vkcube up and going again.
* vk: Add initial support for VK_WSI_swapchainJason Ekstrand2015-09-041-0/+2
|
* vk: Move anv_x11.c to anv_wsi_x11.cJason Ekstrand2015-09-041-1/+1
|
* vk/meta: Use SPIR-V for shadersJason Ekstrand2015-09-011-1/+1
| | | | | We are also now using glslc for compiling the Vulkan driver like we do in curcible.
* vk: Add gen7 supportKristian Høgsberg Kristensen2015-08-241-1/+4
| | | | | | | With all the previous commits in place, we can now drop in support for multiple platforms. First up is gen7 (Ivybridge). Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Reorder gen8 specific code into three new filesKristian Høgsberg Kristensen2015-08-241-1/+3
| | | | | | | | | | | | | | | We'll organize gen specific code in three files per gen: pipeline, cmd_buffer and state, eg: gen8_cmd_buffer.c gen8_pipeline.c gen8_state.c where gen8_cmd_buffer.c holds all vkCmd* entry points, gne8_pipeline.c all gen specific code related to pipeline building and remaining state code (sampler, surface state, dynamic state) in gen8_state.c. Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Add new anv_gen8.c and move CreateDynamicRasterState thereKristian Høgsberg Kristensen2015-08-241-1/+2
| | | | Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Drop aub dumper and PCI ID override featureKristian Høgsberg Kristensen2015-08-171-1/+0
| | | | | | These are now available in intel_aubdump from intel-gpu-tools. Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
* vk: Add an _autogen suffix autogenerated spirv file namesJason Ekstrand2015-08-171-2/+2
| | | | This prevents make from stomping on nir_spirv.h
* vk: Add four unit tests for our lock-free data-structuresJason Ekstrand2015-08-141-0/+1
|
* vk: Build a version of the driver for linking into unit testsJason Ekstrand2015-08-141-2/+17
|
* vk: Re-name command buffer implementation filesJason Ekstrand2015-07-301-1/+1
| | | | | | | | Previously, the command buffer implementation was split between anv_cmd_buffer.c and anv_cmd_emit.c. However, this naming convention was confusing because none of the Vulkan entrypoints for anv_cmd_buffer were actually in anv_cmd_buffer.c. This changes it so that anv_cmd_buffer.c is what you think it is and the internals are in anv_batch_chain.c.
* vk: Prefix most filenames with anvChad Versace2015-07-171-28/+28
| | | | | | Jason started the task by creating anv_cmd_buffer.c and anv_cmd_emit.c. This patch finishes the task by renaming all other files except gen*_pack.h and glsl_scraper.py.
* vk: Move most of the anv_Cmd related stuff to its own fileJason Ekstrand2015-07-151-0/+1
|
* vk: Pull the guts of anv_cmd_buffer into its own fileJason Ekstrand2015-07-151-0/+1
|
* vk: Make `make clean` remove generated spirv headersChad Versace2015-06-041-1/+1
|
* vk: Fix buildChad Versace2015-06-041-2/+1
| | | | | Commit 1286bd, which deleted vk.c, broke the build. Update the Makefile to fix it.
* vk: Delete vk.c test caseKristian Høgsberg Kristensen2015-06-021-5/+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: Move query related functionality to new file query.cKristian Høgsberg Kristensen2015-06-011-1/+2
|
* vk/test: Use the glsl_scraper for building shadersJason Ekstrand2015-05-211-1/+2
|
* vk/meta: Use glsl_scraper for our GLSL sourceJason Ekstrand2015-05-211-1/+7
| | | | We are not yet using SPIR-V for meta but this is a first step.
* vk: More out-of-tree build fixesJason Ekstrand2015-05-211-1/+2
|
* vk: Fix for out-of-tree buildsJason Ekstrand2015-05-211-4/+4
|
* vk: Add WSI implementationKristian Høgsberg2015-05-201-4/+6
|
* vk: Start Implementing vkGetFormatInfo()Kristian Høgsberg2015-05-181-0/+1
| | | | | We move the format table and vkGetFormatInfo to their own file in the process.
* vk: Add script for generating ifunc entry pointsKristian Høgsberg2015-05-181-0/+12
| | | | | This lets us generate a hash table for vkGetProcAddress and lets us call public functions internally without the public entrypoint overhead.
* vk: Install headersChad Versace2015-05-131-0/+8
| | | | I need this for building a testsuite.
* Add vulkan driver for BDWKristian Høgsberg2015-05-091-0/+67