コミットグラフ
1405 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 877b32befc Added pixel shader dispatch test, minor bug fix 2021-05-11 01:54:37 +02:00
Sergio Pedri 76d2f7d83e Switched sample shaders to pixel shaders 2021-05-11 01:54:37 +02:00
Sergio Pedri 5a4e05ba94 Added diagnostics for multiple shader type implementations 2021-05-11 01:54:37 +02:00
Sergio Pedri 49d73b675f Introduced IPixelShader<TPixel> interface, initial working support 2021-05-11 01:54:37 +02:00
Sergio Pedri 0a0f51bd5f Fixed incorrect exceptions for unsupported 3D texture type 2021-05-10 13:52:23 +02:00
Sergio Pedri 64e322589c Updated NuGet packages, fixed target frameworks setup 2021-05-10 13:03:21 +02:00
Sergio Pedri 3efe7b9611 Merge pull request #121 from Sergio0694/samples/new-shaders
New shaders
2021-05-04 16:33:15 +02:00
Sergio Pedri 1dc33752f5 Added TriangleGridContouring sample shader
Ported from https://www.shadertoy.com/view/WtfGDX
2021-05-04 15:58:05 +02:00
Sergio Pedri 2e26b75f2f Added PyramidPattern sample shader
Ported from https://www.shadertoy.com/view/wlscWX
2021-05-04 14:32:27 +02:00
Sergio Pedri 003a322912 Added forward declarations for shader methods
Fixes https://github.com/Sergio0694/ComputeSharp/issues/117
2021-04-04 18:45:42 +02:00
Sergio Pedri 979b89dba2 Merge pull request #118 from Sergio0694/optimization/syntax-receivers
Switched source generators to syntax receivers
2021-04-04 16:46:10 +02:00
Sergio Pedri 1a72e599a0 Switched ShaderMethodSourceGenerator to SyntaxReceiver 2021-04-04 16:15:52 +02:00
Sergio Pedri 92c5dd2550 Switched IComputeShaderSourceGenerator to SyntaxReceiver 2021-04-04 16:15:52 +02:00
Sergio Pedri 41bb623472 Switched IComputeShaderHashCodeGenerator to SyntaxReceiver 2021-04-04 16:15:52 +02:00
Sergio Pedri e488450518 Switched IComputeShaderDataLoaderGenerator to SyntaxReceiver 2021-04-04 16:15:39 +02:00
Sergio Pedri cc771e9843 Switched AutoConstructorGenerator to SyntaxReceiver 2021-04-04 15:56:17 +02:00
Sergio Pedri d967fb480a Added better exception for missing shader metadata 2021-03-18 13:49:52 +01:00
Sergio Pedri 804d64e81e Fixed arguments order in Hlsl.Lerp intrinsics 2021-03-18 13:31:37 +01:00
Sergio Pedri e3627a25f9 Fixed SGs fail with symbols from different syntax trees 2021-03-18 13:15:00 +01:00
Sergio Pedri cc0eed7adc Merge pull request #115 from Sergio0694/sample/extended-truchet-pattern
New sample, added missing intrinsics and properties
2021-03-16 18:04:15 +01:00
Sergio Pedri 4583f7dc1a Added unit test for ExtrudedTruchetPattern shader 2021-03-16 17:30:05 +01:00
Sergio Pedri 090984d052 Added ExtrudedTruchetPattern sample shader 2021-03-16 17:20:05 +01:00
Sergio Pedri b111e450e4 Removed unnecessary using statements in Bool vector types 2021-03-16 16:06:14 +01:00
Sergio Pedri 8f2b06b459 Added missing swizzled properties to vector types 2021-03-16 16:04:45 +01:00
Sergio Pedri 94e7809c25 Added missing Reflection and Refract HLSL intrinsics 2021-03-16 15:24:30 +01:00
Sergio Pedri ffce2ef2e4 Merge pull request #114 from Sergio0694/feature/improved-double-support
Improved double support
2021-03-16 15:22:47 +01:00
Sergio Pedri 977ba2297b Added exception type and check for double types 2021-03-16 14:26:08 +01:00
Sergio Pedri cd8456a39f Fixed formatting in generated Hlsl file 2021-03-16 12:32:13 +01:00
Sergio Pedri 4ef194f05d Added missing double intrinsics 2021-03-16 12:29:31 +01:00
Sergio Pedri 2dddf1101d Merge pull request #113 from Sergio0694/feature/primitive-types-apis
HLSL vector type formatting
2021-03-16 00:11:29 +01:00
Sergio Pedri 6a144aad1f Added BoolNxM negation operator, fixed operators generation 2021-03-15 23:17:25 +01:00
Sergio Pedri ac76fc3268 Added bool negation operator to vector types 2021-03-15 23:17:25 +01:00
Sergio Pedri f636eb590e Implemented ToString() formatting to HLSL vector types 2021-03-15 23:17:25 +01:00
Sergio Pedri 65e15edcd0 Enabled warnings as errors when compiling shaders 2021-03-15 23:00:40 +01:00
Sergio Pedri b18f76b04a Added missing readonly modifiers to primitive types 2021-03-15 19:59:30 +01:00
Sergio Pedri 4c8fdec09a Fixed solution build, moved out NuGet-only items 2021-03-13 17:42:55 +01:00
Sergio Pedri 5e80d7910e Removed unsupported noise HLSL intrinsic 2021-03-13 14:33:16 +01:00
Sergio Pedri 5622a8b60a Added unit tests for custom allocation modes 2021-03-13 14:24:55 +01:00
Sergio Pedri c65a36c87d Added docs for reflection and interop APIs 2021-03-12 17:25:11 +01:00
Sergio Pedri d9298a93e8 Added non-try InteropServices APIs and unit tests 2021-03-12 17:04:17 +01:00
Sergio Pedri a94e5559a0 Added diagnostics for shaders exceeding root signature size 2021-03-12 14:55:30 +01:00
Sergio Pedri 33c1415f2d Skipped fixed buffer fields from auto constructor and data loader 2021-03-12 14:26:47 +01:00
Sergio Pedri c32dc1f579 Switched shader test images to PNG, fixed deltas 2021-03-12 13:34:00 +01:00
Sergio Pedri d0a416d73b Updated all NuGet packages 2021-03-12 12:47:47 +01:00
Sergio Pedri 861da7eb77 Updated packages and fixed analyzer rules in SG project 2021-03-12 12:47:47 +01:00
Sergio Pedri 3fe8a6addc Merge pull request #112 from Sergio0694/feature/custom-struct-capturing
Support for capturing custom struct types
2021-03-12 00:24:37 +01:00
Sergio Pedri f42dc2df10 Minor codegen tweaks to shader dispatch data loader 2021-03-12 00:04:56 +01:00
Sergio Pedri 9d41cbf94c Fixed HLSL compilation when using nested struct types 2021-03-11 23:12:09 +01:00
Sergio Pedri cd8fb59593 Added unit tests for custom struct dispatch data loading 2021-03-11 22:53:18 +01:00
Sergio Pedri 758a19cae5 Fixed alignment of first fields in nested struct types 2021-03-11 22:53:02 +01:00