Commit Graph

  • 3726064af5 Can't use CmdCopyBufferToImage or vice versa for depth and stencil. Dr. Chat 2016-04-01 22:03:29 -05:00
  • f9a634ad25 CircularBuffer remove Discard functionality and allow rotation Dr. Chat 2016-04-01 21:53:46 -05:00
  • 50f72b4e42 Enable native MSAA Copy back EDRAM buffers in order by base offset. Dr. Chat 2016-04-01 21:52:39 -05:00
  • 2eca3ce9e6 Texture uploads/basic formats Fixed swizzle one/zero mismatch Sampler setup Remove samplers from the descriptor set layout Dr. Chat 2016-04-01 21:51:17 -05:00
  • 1ea72c5e06 FencedPool::CancelBatch Dr. Chat 2016-04-01 21:49:58 -05:00
  • 44cffab389 SPIR-V Max4 Dr. Chat 2016-03-25 18:23:45 -05:00
  • fc1bd0f379 Fix texture uploads Dr. Chat 2016-03-25 17:29:39 -05:00
  • 692d666d57 Wipe the buffer cache in ClearCache for now. Dr. Chat 2016-03-25 16:50:06 -05:00
  • 0e44cda961 Update the rectangle list shader Dr. Chat 2016-03-25 16:49:41 -05:00
  • d7599c817f Formatting. Dr. Chat 2016-03-25 16:44:25 -05:00
  • a5a31cf123 VulkanShader::Prepare - return false if vkCreateShaderModule failed. Dr. Chat 2016-03-25 16:37:24 -05:00
  • 2bb40c122d Vulkan util Fence class Dr. Chat 2016-03-25 16:36:21 -05:00
  • f75e5fec24 CP: Use a single command buffer for every frame, reuse render passes/pipelines if not dirty Hook up resolves and swaps Dr. Chat 2016-03-25 16:35:34 -05:00
  • 1e1da1eb6c PipelineCache::ConfigurePipeline - Inform the caller if the pipeline is dirty or they can reuse the previously bound pipeline. Make SetDynamicState public. Dr. Chat 2016-03-25 16:34:14 -05:00
  • b2457d7e72 Basic texture uploads/address lookups/etc Freeing of descriptor sets when the GPU is finished with them. Dr. Chat 2016-03-25 16:32:29 -05:00
  • 0e41774e36 RenderCache::dirty() - used to tell if we need to begin a new pass Round all pixel pitch/heights up before dividing. Dr. Chat 2016-03-25 16:31:12 -05:00
  • 181b2af5a4 Vulkan Circular Buffer Dr. Chat 2016-03-25 13:45:44 -05:00
  • e72e283e79 Primitive type makes rasterization state dirty too! Dr. Chat 2016-03-23 16:19:18 -05:00
  • ea7bad1035 Merge pull request #562 from sephiroth99/fragfix Ben Vanik 2016-03-21 09:24:37 -07:00
  • 7b962e59a4 SPIR-V Dst Fix a few bugs in the translator Dr. Chat 2016-03-20 14:21:55 -05:00
  • 38b94dd9e2 Add in Xenos events Dr. Chat 2016-03-17 21:58:23 -05:00
  • 2512a6360e Pass the physical frontbuffer address into the CP Dr. Chat 2016-03-17 21:55:47 -05:00
  • 0e3c113375 Physical write watches -> access watches (read and/or write watching) Dr. Chat 2016-03-17 21:55:16 -05:00
  • 1831e7a936 Pipeline stencil state Dr. Chat 2016-03-16 14:45:40 -05:00
  • 54f89825d9 SPIR-V Dp2Add/Dp3 Dr. Chat 2016-03-15 00:30:39 -05:00
  • 245102e9e5 RenderCache::BlitToImage Dr. Chat 2016-03-12 22:04:32 -06:00
  • 822d61c3d9 Fix a few stale data usage bugs in the pipeline cache. Hook up part of depth/stencil tests/writes Dr. Chat 2016-03-12 22:03:11 -06:00
  • 5ba04b9e55 RenderCache::ClearEDRAMColor/ClearEDRAMDepthStencil Dr. Chat 2016-03-12 11:49:59 -06:00
  • 635d095b87 RenderCache: Track color target / depth target usage, refactor RawCopyToImage Dr. Chat 2016-03-10 20:39:46 -06:00
  • f903a559b3 Blit Vulkan CP output to the main window's swap chain Dr. Chat 2016-03-10 13:01:39 -06:00
  • f839a1293f Add a specialized copy command buffer to the vulkan swap chain Dr. Chat 2016-03-10 12:59:48 -06:00
  • 90b54bbaa6 Fix usage of mix in fragment shader sephiroth99 2016-03-10 00:47:22 -05:00
  • 86cb40f0c6 Change how the render cache renders into EDRAM. Rendering directly into the EDRAM buffer is bad because we don't know how the GPU lays out memory when it draws. Instead, we create temporary render targets and copy EDRAM contents to/from those temporary RTs before and after each draw. Dr. Chat 2016-03-08 18:02:03 -06:00
  • 4e27539709 Fix Vulkan texture drawing. Dr. Chat 2016-03-08 17:57:04 -06:00
  • af7fc20c38 Beginnings of texture conversion/uploads Dr. Chat 2016-03-05 22:09:18 -06:00
  • 8ca9c6f6f4 Fix spirv-tools incorrect includes Dr. Chat 2016-03-03 20:11:23 -06:00
  • 38094ac819 Updated local clang-format. Dr. Chat 2016-03-02 21:16:38 -06:00
  • 740c70f270 Scalar logc, fix log Dr. Chat 2016-03-01 12:52:34 -06:00
  • 48cf270724 Use spv::NoPrecision instead of DecorationInvariant Set samplers/images as uniform constants Dr. Chat 2016-02-27 16:21:37 -06:00
  • c648e54539 Short-circuit draw calls if the render target's pitch is 0 Dr. Chat 2016-02-27 11:30:50 -06:00
  • 6109e0b03a Fix incorrect images/samplers definitions ps_param_gen and fix interpolators being copied incorrectly Dr. Chat 2016-02-25 17:41:41 -06:00
  • 652518ff59 Merge pull request #554 from DrChat/spv_translator Ben Vanik 2016-02-21 20:36:03 -08:00
  • 08a287d2ad Whoops Dr. Chat 2016-02-21 22:30:31 -06:00
  • 06d5a28615 Fix texture fetches Dr. Chat 2016-02-21 22:27:23 -06:00
  • 5e31c51a3d Textures are now in descriptor set 1. Ben Vanik 2016-02-21 20:03:51 -08:00
  • 3b20c757ff Merge branch 'vulkan' of github.com:benvanik/xenia into vulkan Ben Vanik 2016-02-21 19:56:30 -08:00
  • 62931f8c8e Adding texture setup and a dummy grid texture. Ben Vanik 2016-02-21 19:56:23 -08:00
  • 9e5eb06d07 Merge pull request #553 from DrChat/spv_translator Ben Vanik 2016-02-21 18:55:25 -08:00
  • 8a29330f8c First-pass image sampling Dr. Chat 2016-02-21 20:42:37 -06:00
  • 2785a94fea SetpXXPush Dr. Chat 2016-02-21 19:10:24 -06:00
  • 9030c87386 SetpPop/SetpRstr Dr. Chat 2016-02-21 18:52:49 -06:00
  • 5c2b5123ac Floors/Frcs/Truncs Dr. Chat 2016-02-21 18:15:11 -06:00
  • 0680e451bc Exp2 Dr. Chat 2016-02-21 17:59:59 -06:00
  • cbac9b2f4e Use vec4 zero rather than float zero where needed Dr. Chat 2016-02-21 17:39:18 -06:00
  • 13049912ee Vec Log Dr. Chat 2016-02-21 17:12:08 -06:00
  • 1d4190af02 MaxA Dr. Chat 2016-02-21 16:52:43 -06:00
  • 568845e81d Dp4 Dr. Chat 2016-02-21 16:47:06 -06:00
  • 3877afe90a MaxAsf Dr. Chat 2016-02-21 16:42:58 -06:00
  • d217f7b3c3 MaxAs/SetpClr Dr. Chat 2016-02-21 16:39:54 -06:00
  • fa3ca4a5d7 Short-circuit if the store has no writes. Dr. Chat 2016-02-21 16:30:57 -06:00
  • d2e3b5533d Whoops Dr. Chat 2016-02-21 16:29:12 -06:00
  • 9b805b929e Scalar kill ops Dr. Chat 2016-02-21 16:17:43 -06:00
  • e78537571f Vector kill ops Dr. Chat 2016-02-21 16:13:13 -06:00
  • 633746b5e4 Actually preserve pv/ps if predicate fails Dr. Chat 2016-02-21 15:38:10 -06:00
  • cda08ff826 Setup descriptor set for textures. Ben Vanik 2016-02-21 17:17:57 -08:00
  • 1def5bece9 Fix viewport inversion. Ben Vanik 2016-02-21 15:59:35 -08:00
  • ace895d4f3 Fixing 1/w0 correction. Ben Vanik 2016-02-21 15:44:09 -08:00
  • 24743bf676 Actually configure constant descriptor set. Ben Vanik 2016-02-21 15:20:35 -08:00
  • d57f974e2e Fix buffer alloc alignment and framebuffer comparison. Ben Vanik 2016-02-21 14:43:59 -08:00
  • 06ba273492 Warn and be ok with symbol services failing. Ben Vanik 2016-02-21 14:26:16 -08:00
  • 8bf5eba098 Capture exe with renderdoc and pass --vulkan_renderdoc_capture_all. Ben Vanik 2016-02-21 12:44:16 -08:00
  • fed6679b32 Merge pull request #552 from DrChat/spv_translator Ben Vanik 2016-02-21 11:21:29 -08:00
  • b83b9c28a1 Fix push constants declaration Dr. Chat 2016-02-21 13:19:08 -06:00
  • 983479adb5 Merge pull request #551 from DrChat/spv_translator Ben Vanik 2016-02-21 10:49:27 -08:00
  • a7880645be Merge branch 'vulkan' of github.com:benvanik/xenia into spv_translator Dr. Chat 2016-02-21 12:47:02 -06:00
  • bd0fb81b22 Apply window scaling Dr. Chat 2016-02-21 12:46:54 -06:00
  • 32c4f3ce24 Fixing pool shutdown. Ben Vanik 2016-02-21 10:46:47 -08:00
  • b3faba50a3 Pushing constants. Ben Vanik 2016-02-21 10:38:58 -08:00
  • 7b2a508db0 Merge pull request #550 from DrChat/spv_translator Ben Vanik 2016-02-21 10:09:40 -08:00
  • 71440a4137 Add code to correct vertex format Move translated shader code to its own function Add push constants Dr. Chat 2016-02-21 12:06:59 -06:00
  • b1e56ee4e5 Vector Cndxx Dr. Chat 2016-02-20 23:45:01 -06:00
  • ff373a83a4 Private->Function variables, fragment output, geometry shader tweaks. Ben Vanik 2016-02-20 20:44:11 -08:00
  • 1e87d1fa7f Merge pull request #549 from DrChat/spv_translator Ben Vanik 2016-02-20 20:21:38 -08:00
  • 2629ae4a14 Fix using incorrect result types for compares Dr. Chat 2016-02-20 21:55:32 -06:00
  • ca01bb2311 ALU predicated discard Dr. Chat 2016-02-20 21:53:22 -06:00
  • 08a173e5ec Scalar Sxxx Dr. Chat 2016-02-20 21:28:25 -06:00
  • 6d65439efe Merge branch 'vulkan' of github.com:benvanik/xenia into vulkan Ben Vanik 2016-02-20 19:19:41 -08:00
  • cd02cdfc70 Making memory API less error prone; fixes buffer/constant uploads. Ben Vanik 2016-02-20 19:19:29 -08:00
  • 5033480bec Merge pull request #548 from DrChat/spv_translator Ben Vanik 2016-02-20 19:04:40 -08:00
  • 3130d4b38e Add the vulkan backend as a choice in xenia-app Dr. Chat 2016-02-20 21:02:28 -06:00
  • fad5ad7f64 Merge pull request #547 from DrChat/spv_translator Ben Vanik 2016-02-20 17:36:58 -08:00
  • 8777d22b72 Add name information to constants Fix Rcp/Rsq OpSelect incorrect usage Dr. Chat 2016-02-20 19:31:28 -06:00
  • 1d82d7bd92 For now, all 512 constants live in the same block. Ben Vanik 2016-02-20 17:05:53 -08:00
  • 92a8a03caa Merge pull request #546 from DrChat/spv_translator Ben Vanik 2016-02-20 16:49:50 -08:00
  • 4aff1c19a7 (WIP) SPIR-V Shader Translator Dr. Chat 2016-02-20 18:44:37 -06:00
  • b5a0c4715b Porting GL4 geometry shaders. Likely not working. Ben Vanik 2016-02-20 16:35:21 -08:00
  • 769c58a9b2 Adding xb genspirv to do glsl->.h. Ben Vanik 2016-02-20 16:24:42 -08:00
  • 5759f82276 Adding pipeline caching. Ben Vanik 2016-02-20 15:00:11 -08:00
  • 731ff52773 Implementing a lot of the pipeline state setting. Ben Vanik 2016-02-20 12:59:18 -08:00
  • 97174dbe4d Skeleton leaky hacky hardcoded pipeline setup. Ben Vanik 2016-02-19 23:23:58 -08:00