Commit Graph

  • fb166b5ff4 shader: Emulate 64-bit integers when not supported ReinUsesLisp 2021-06-23 01:39:21 -03:00
  • d8d5501459 shader: Add int64 to int32 lowering pass ReinUsesLisp 2021-06-23 01:33:42 -03:00
  • 04ef2160f9 shader: Teach global memory base tracker to follow vectors ReinUsesLisp 2021-06-23 01:32:47 -03:00
  • 97e80dda55 shader: Add constant propagation to integer vectors ReinUsesLisp 2021-06-23 01:32:09 -03:00
  • 27ca8a0e13 glsl: Better IAdd Overflow CC fix ameerj 2021-06-22 23:09:22 -04:00
  • 4397053d5c shader: Remove IAbs64 ReinUsesLisp 2021-06-22 18:28:21 -03:00
  • bc6e399ae3 glsl: Fix IADD CC ameerj 2021-06-21 21:22:12 -04:00
  • a7536825df shader_recompiler: Fix IADD3 input partitioning ameerj 2021-06-21 21:07:52 -04:00
  • 808ef97a08 shader: Move loop safety tests to code emission ReinUsesLisp 2021-06-21 01:07:10 -03:00
  • 3877918e96 gl_graphics_pipeline: Fix assembly shaders check for transform feedbacks ReinUsesLisp 2021-06-20 17:09:50 -03:00
  • cbce9ddd4a glsl: Remove frag color initialization ameerj 2021-06-20 01:47:56 -04:00
  • 3a2dd1b483 glasm: Implement SetAttribute ViewportMask ameerj 2021-06-20 01:40:21 -04:00
  • 9bd0531384 gl_graphics_pipeline: Inline hash and operator== key functions ReinUsesLisp 2021-06-20 02:35:30 -03:00
  • f5db8c7440 gl_shader_cache: Check previous pipeline before checking hash map ReinUsesLisp 2021-06-20 02:23:50 -03:00
  • 218dedca1f gl_graphics_pipeline: Port optimizations from Vulkan pipelines ReinUsesLisp 2021-06-20 02:00:38 -03:00
  • 1c648f176c emit_glsl_special: Skip initialization of frag_color0 ameerj 2021-06-19 22:06:53 -04:00
  • 1d182fc0f5 shader: Calibrate loop safety threshold ReinUsesLisp 2021-06-19 21:30:27 -03:00
  • df9b7e18f5 buffer_cache: Fix debugging leftover ReinUsesLisp 2021-06-19 17:28:46 -03:00
  • cfbc85839d glsl: Add missing ; in EmitSetSampleMask Morph 2021-06-18 03:31:13 -04:00
  • 838d7e4ca5 buffer_cache: Fix size reductions not having in mind bind sizes ReinUsesLisp 2021-06-18 03:22:00 -03:00
  • 9e066dcb15 glsl: Fix output varying initialization when transform feedback is used ameerj 2021-06-18 00:54:16 -04:00
  • fcff19e0fa shaders: Allow shader notify when async shaders is disabled ameerj 2021-06-17 23:12:41 -04:00
  • a0365217f5 texture_pass: Fix is_read image qualification ameerj 2021-06-17 21:44:12 -04:00
  • 0cd08b3e72 shader: Align constant buffer sizes to 16 bytes ReinUsesLisp 2021-06-17 20:35:25 -03:00
  • 59fead3a47 spirv: Properly handle devices without int8 and int16 ReinUsesLisp 2021-06-17 20:34:58 -03:00
  • b5e78607ad spirv: Handle small storage buffer loads on devices with no support ReinUsesLisp 2021-06-16 22:00:31 -03:00
  • ca67077ca8 vk_graphics_pipeline: Use VK_KHR_push_descriptor when available ReinUsesLisp 2021-06-16 21:14:57 -03:00
  • ccbd24fe00 glsl: Fix cbuf component indexing bug falback ameerj 2021-06-16 19:59:08 -04:00
  • 1091995f8e shader: Simplify MergeDualVertexPrograms ReinUsesLisp 2021-06-16 05:02:19 -03:00
  • 374eeda1a3 shader: Properly manage attributes not written from previous stages ReinUsesLisp 2021-06-16 04:59:30 -03:00
  • 892b8aa2ad glsl: Only declare fragment outputs on fragment shaders ReinUsesLisp 2021-06-16 04:48:05 -03:00
  • 0ffea97e2e shader: Split profile and runtime info headers ReinUsesLisp 2021-06-16 03:22:56 -03:00
  • cbbca26d18 shader: Add support for native 16-bit floats ReinUsesLisp 2021-06-16 03:03:08 -03:00
  • 376aa94819 shader: Rename maxwell/program.h to translate_program.h ReinUsesLisp 2021-06-16 01:49:19 -03:00
  • 69f9b97e7e vulkan_device: Blacklist VK_EXT_vertex_input_dynamic_state on Intel ReinUsesLisp 2021-06-15 22:48:55 -03:00
  • 12ef06ba8b glsl: Obey need_declared_frag_colors to declare and initialize all frag_color ameerj 2021-06-15 21:01:44 -04:00
  • d36f667bc0 glsl: Address rest of feedback ameerj 2021-06-15 17:23:57 -04:00
  • c5dfa0b630 glsl: Move gl_Position/generic attribute initialization to EmitProlgue ameerj 2021-06-15 00:30:59 -04:00
  • 3b339fbbf6 glsl: Conditionally use fine/coarse derivatives based on device support ameerj 2021-06-14 23:33:26 -04:00
  • 6eea88d614 glsl: Cleanup/Address feedback ameerj 2021-06-14 23:02:07 -04:00
  • 74f683787e gl_shader_cache: Implement async shaders ameerj 2021-06-14 21:06:29 -04:00
  • ae4e452759 glsl: Add Shader_GLSL logging ameerj 2021-06-14 11:32:28 -04:00
  • 6c6a451d6a glsl: Add LoopSafety instructions ameerj 2021-06-14 11:27:37 -04:00
  • a0d0704aff glsl: Conditionally add EXT_texture_shadow_lod ameerj 2021-06-13 19:12:03 -04:00
  • 5e7b2b9661 glsl: Add stubs for sparse queries and variable aoffi when not supported ameerj 2021-06-13 00:05:19 -04:00
  • 6aa1bf7b6f glsl: Implement legacy varyings ameerj 2021-06-12 20:14:56 -04:00
  • ff3de0fb6b gl_shader_cache: Remove const from pipeline source arguments ameerj 2021-06-12 02:11:13 -04:00
  • 413eb6983f gl_shader_cache: Move OGL shader compilation to the respective Pipeline constructor ameerj 2021-06-12 02:06:11 -04:00
  • 39c29664f9 glsl: Minor cleanup ameerj 2021-06-12 01:36:33 -04:00
  • 427a2596a1 glsl: Fix Cbuf getters for F32 type ameerj 2021-06-11 22:43:43 -04:00
  • 7c82f20b52 glsl: Add immediate index oob checking for Cbuf getters ameerj 2021-06-11 22:16:34 -04:00
  • 84c86e03cd glsl: Refactor GetCbuf functions to reduce code duplication ameerj 2021-06-11 21:49:33 -04:00
  • e81c73a874 glsl: Address more feedback. Implement indexed texture reads ameerj 2021-06-11 02:50:30 -04:00
  • 7d89a82a48 glsl: Remove Signed Integer variables ameerj 2021-06-11 00:41:28 -04:00
  • 4759db28d0 glsl: Address Rodrigo's feedback ameerj 2021-06-11 00:33:33 -04:00
  • 85399e119d glsl: Reorganize backend code, remove unneeded [[maybe_unused]] ameerj 2021-06-10 00:29:19 -04:00
  • e7c8f8911f glsl: Implement SampleId and SetSampleMask ameerj 2021-06-10 00:01:56 -04:00
  • d1a68f7997 glsl: Add gl_PerVertex in for GS ameerj 2021-06-09 23:11:08 -04:00
  • a926695234 glsl: Use existing tracking for enabling EXT_shader_image_load_formatted ameerj 2021-06-09 01:55:36 -04:00
  • 14bd73db36 glsl: Enable early fragment tests ameerj 2021-06-09 01:16:25 -04:00
  • 6650c4799d gl_rasterizer: Add texture fetch barrier for fragments ameerj 2021-06-08 23:52:28 -04:00
  • 3f31a547e0 glsl: Implement more attribute getters and setters ameerj 2021-06-08 21:22:50 -04:00
  • 8bb8bbf4ae glsl: Implement fswzadd ameerj 2021-06-08 01:55:12 -04:00
  • c542204113 glsl: Implement indexed attribute loads ameerj 2021-06-07 20:39:30 -04:00
  • 2a504b4765 glsl: Conditionally add GL_ARB_sparse_texture2 ameerj 2021-06-07 19:20:32 -04:00
  • 970fc39d98 glsl: Rebase fixes ameerj 2021-06-07 19:05:11 -04:00
  • fc0db612ab glsl: Conditionally use GL_EXT_shader_image_load_formatted ameerj 2021-06-07 18:29:13 -04:00
  • fb839061fb glsl: Remove output generic indexing for geometry stage ameerj 2021-06-07 18:28:42 -04:00
  • 258106038e glsl: Allow dynamic tracking of variable allocation ameerj 2021-06-07 18:04:01 -04:00
  • 465903468e glsl: Implement barriers ameerj 2021-06-07 15:52:44 -04:00
  • 421847cf1e glsl: Implement image atomics and set layer ameerj 2021-06-05 02:41:29 -04:00
  • d41aef03c7 glsl: Fix image gather logic ameerj 2021-06-04 13:24:34 -04:00
  • 35e78d558d glsl: Add cbuf access workaround for devices with component indexing bug ameerj 2021-06-04 02:05:04 -04:00
  • 747b8556a4 glsl: Use textureGrad fallback when EXT_texture_shadow_lod is unsupported ameerj 2021-06-04 00:46:46 -04:00
  • d12f2b8ccf emit_glsl_image: Use immediate offsets when possible ameerj 2021-06-03 23:18:38 -04:00
  • 0a0b0a73d8 glsl: Fix <32-bit SSBO writes ameerj 2021-06-03 22:25:06 -04:00
  • 34fdb6471d glsl: Cleanup and address feedback ameerj 2021-06-03 20:57:52 -04:00
  • 5355568a2d glsl: Refactor Global memory functions ameerj 2021-06-03 20:24:56 -04:00
  • a68fabf6d5 glsl: Increase NUM_VARS that can be allocated ameerj 2021-06-03 19:16:25 -04:00
  • 8d8ce24f20 glsl: Implement Load/WriteGlobal ameerj 2021-06-03 19:15:36 -04:00
  • af9696059c glsl: Implement Images ameerj 2021-06-02 20:37:24 -04:00
  • 6577a63d36 glsl: skip gl_ViewportIndex write if device does not support it ameerj 2021-06-02 00:48:49 -04:00
  • f4799e8fa1 glsl: Implement transform feedback ameerj 2021-06-02 00:33:03 -04:00
  • 31147ffe69 glsl: Yet another gl_ViewportIndex fix attempt ameerj 2021-06-01 01:49:24 -04:00
  • 9f3970f837 glsl: Add gl_ViewportIndex out attribute ameerj 2021-06-01 01:04:32 -04:00
  • fc29de7d5b emit_glsl_context_get_set: Remove unused function lat9nq 2021-05-31 23:33:30 -04:00
  • 59576b82a8 glsl: Fix precise variable declaration ameerj 2021-06-01 00:07:14 -04:00
  • 8c684b3e23 glsl: Implement tessellation shaders ameerj 2021-05-31 23:07:13 -04:00
  • c7d085b505 glsl: Implement ImageGradient and other texture function variants ameerj 2021-05-31 16:03:20 -04:00
  • 68d075d1e8 glsl: Fix atomic SSBO offsets ameerj 2021-05-31 14:17:00 -04:00
  • 19247ba4fa glsl: Implement geometry shaders ameerj 2021-05-31 13:28:53 -04:00
  • df53046d68 glsl: Use NotImplemented macro with function name output ameerj 2021-05-31 12:53:40 -04:00
  • 3a024b3026 glsl: Implement gl_ViewportIndex ameerj 2021-05-31 01:12:52 -04:00
  • b7561226ed glsl: SHFL fix and prefer shift operations over divide in glsl shader ameerj 2021-05-31 00:25:54 -04:00
  • e10366974e glsl: Implement precise fp variable allocation ameerj 2021-05-30 22:44:28 -04:00
  • 14bfb4719a HACK glsl: Write defaults to unused generic attributes ameerj 2021-05-30 22:42:52 -04:00
  • 4b5a4ea72e glsl: Fix ssbo indexing and name shadowing between shader stages ameerj 2021-05-30 20:02:44 -04:00
  • 8ec0028e68 glsl: implement set clip distance ameerj 2021-05-30 19:21:30 -04:00
  • 9f3ffb996b glsl: Rework var alloc to not assign unused results ameerj 2021-05-30 19:13:22 -04:00
  • 1269a0cf8b glsl: Rework variable allocator to allow for variable reuse ameerj 2021-05-30 17:27:00 -04:00