53 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 0a187f64bc Enable 'IDE0060' warnings, fix issues 2025-03-13 16:56:40 -07:00
Sergio Pedri c1c93c05f3 Add unit tests for explicit interface entry points 2024-09-21 19:17:41 +02:00
Sergio Pedri d222f35479 Add unit test for new constructors 2023-12-25 23:31:18 +01:00
Sergio Pedri 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri c3ae04f668 Add unit test for 'this.' expression rewriting 2023-12-21 19:26:26 +01:00
Sergio Pedri 2cb61a3eec Fix sorting of custom type declarations in HLSL 2023-12-21 18:50:30 +01:00
Sergio Pedri cea25fbd4d Add [RequiresDoublePrecisionSupport] to test shaders 2023-12-17 12:18:41 +01:00
Sergio Pedri 1ffa43ed34 Use semicolon token type declarations if possible 2023-12-16 00:04:59 +01:00
Sergio Pedri b13a9f6b0e Add unit tests for forward declarations 2023-12-14 11:46:06 +01:00
Sergio Pedri fb3439556c Use forward declarations wherever possible 2023-12-13 14:22:25 +01:00
Sergio Pedri 16582d2215 Remove unnecessary [TestCategory] attributes 2023-12-08 02:41:11 +01:00
Sergio Pedri 512efa074b Add unit tests for shader with partial declarations 2023-11-29 22:19:34 +01:00
Sergio Pedri 75500a8457 Add unit tests for ref readonly parameters in shaders 2023-11-27 00:08:19 +01:00
Sergio Pedri 2f0d7911d6 Add unit test for [GloballyCoherent] buffer 2023-11-24 09:53:21 +01:00
Sergio Pedri 9f4028e949 Switch unit tests to AutoConstructor package 2023-11-24 02:20:47 +01:00
Sergio Pedri be0f0cf593 Rename DispatchAxis to DefaultThreadGroupSizes 2023-11-21 18:03:19 +01:00
Sergio Pedri cecc16a52e Rename [EmbeddedBytecode] to [ThreadGroupSize] 2023-11-21 18:02:51 +01:00
Sergio Pedri 18e9a5ac72 Add unit test for shader with no reflection metadata 2023-11-21 16:01:09 +01:00
Sergio Pedri a64e7bbd18 Fix a compile error in tests due to DXC warning 2023-11-21 15:35:10 +01:00
Sergio Pedri 777f8537f2 Fix handling artificial fields in D3D12 constant buffer 2023-11-20 21:11:45 +01:00
Sergio Pedri 91f78969b1 Adopt static abstracts in ComputeSharp (and related projects) 2023-10-18 20:50:44 +02:00
Sergio Pedri 1734c09d1a Add HLSL bytecode to ShaderInfo, remove leftovers 2023-10-17 01:55:16 +02:00
Sergio Pedri c3ed6ead40 Add [GeneratedComputeShaderDescriptor] to all shaders 2023-10-16 11:20:24 +02:00
Sergio Pedri de498f338a Rename IPixelShader<TPixel> to IComputeShader<TPixel> 2023-10-15 21:10:59 +02:00
Sergio Pedri 490226aa4d Disable dynamic shader compilation support 2023-10-13 12:00:15 +02:00
Sergio Pedri 9024a8c5a2 Add shader compiler tests for scoped parameters 2022-11-20 15:10:11 +01:00
Sergio Pedri 5c4479a0e1 Resolve remaining build warnings 2022-10-15 09:10:18 -07:00
Sergio Pedri b9a133b74c Add .this qualifier to all field accesses 2022-10-15 09:10:18 -07:00
Sergio Pedri ce1097e7d9 Add parentheses for clarity where needed (IDE0048) 2022-10-15 09:10:18 -07:00
Sergio Pedri b2afb88f30 Switch methods to block bodies 2022-10-15 09:10:18 -07:00
Sergio Pedri 16c0fc9aab Use explicit types everywhere 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri c40ca177a6 Add unit tests for struct instance methods rewriting 2022-10-02 17:40:32 +02:00
Sergio Pedri 44f2a15ca7 Add unit tests for more reserved HSLS identifiers 2022-06-20 23:51:32 +02:00
Sergio Pedri da4c42cafa Add unit test for reserved custom types field names 2022-06-05 13:37:22 +02:00
Sergio Pedri 1ef6040e58 Tweak properties detection to block all field backed ones 2022-04-29 12:58:19 +02:00
Sergio Pedri 459517a181 Enable shaders to inherit shader interfaces 2022-04-29 12:58:19 +02:00
Sergio Pedri fcb8d028b2 Add unit tests for fields with this. expressions 2022-04-27 12:47:23 +02:00
Sergio Pedri b27c89acc0 Add HLSL primitive type names to known keywords 2022-04-24 21:04:32 +02:00
Sergio Pedri a1ab03f48c Add support for "this." field accesses 2022-04-24 21:04:28 +02:00
Sergio Pedri 2b7758ffbf Switch ShaderInfo to be a record 2021-12-19 20:50:52 +01:00
Sergio Pedri 08eabf45f9 Add unit tests for double precision support 2021-12-07 18:03:41 +01:00
Sergio Pedri d5e3114f7c Refactored code to use file scoped using declarations 2021-10-30 15:11:43 +02:00
Sergio Pedri 52ec5a79b0 Refactored code to use new HLSL primitives global usings 2021-10-30 15:11:43 +02:00
Sergio Pedri 09c9c48fd7 Fixed shader compilation error from external namespaces 2021-07-14 20:30:51 +02:00
Sergio Pedri da786aaf0d Enabled support for var declarations in shaders 2021-07-14 15:32:09 +02:00
Sergio Pedri 5684e68637 Enabled ReflectionServices support for pixel shaders 2021-05-11 01:54:37 +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 e3627a25f9 Fixed SGs fail with symbols from different syntax trees 2021-03-18 13:15:00 +01:00
Sergio Pedri 9d41cbf94c Fixed HLSL compilation when using nested struct types 2021-03-11 23:12:09 +01:00