https://github.com/shader-slang/slang

sort by:
Revision Author Date Message Commit Date
12fcffa Handle import, entrypoint and global params in included files. (#3395) * Handle `import`, entrypoint and global params in included files. * Fix language server. * Extend `_createScopeForLegacyLookup` for `__include`. --------- Co-authored-by: Yong He <yhe@nvidia.com> 09 December 2023, 00:10:27 UTC
4321929 WIP: CMake (#3326) * More robust input and output selection in generator tools * Add cmake build system * Get slang-test running with cmake * Bump lz4 and miniz dependencies * Make cmake build more declarative * Correct preprocessor logic in slang.h * Add cuda test to compute/simple * Remove empty cmake files * output placement for cmake, and commenting * Correct include paths in spirv-embed-generator * Format cmake with gersemi * Make cmake build clerer * Neaten header generation Also work around https://gitlab.kitware.com/cmake/cmake/-/issues/18399 by introducing correct_generated_properties to set the GENERATED flag in the correct scope * remove unused files * use 3.20 to set GENERATOR property properly * spelling * more flexible linker arg setting * replace slang-static with obj collection * Set rpath and linker path correctly * neaten generated file generation * tests working with cmake build * fix premake5 build * comment and neaten cmake * remove unnecessary dependency * Build aftermath example only when aftermath is enabled * Add slang-llvm and other dependencies * Put modules alongside binaries * Find slang-glslang correctly * Better option handling * comments * add llvm build test * Better option handling * cmake wobble * use UNICODE and _UNICODE * remove other workflows * use ccache * neaten * limit parallel for llvm build * use ninja for build * Windows and Darwin slang-llvm builds * cache key * verbose llvm build * cl on windows * sccache and cl.exe * use cl.exe * Correct package detection * less verbosity * Simplify miniz inclusion * fix build with sccache * Neaten llvm building * neaten * Neaten slang-llvm fetching * more surgical workarounds * Add ci action * Get version from git * better variable naming * add missing include * clean up after premake in cmake * more docs on cmake build * ci wobble * add imgui target * more selective source * do not download swiftshader * Some missing dependencies * only build llvm on dispatch * Disable /Zi in CI where sccache is present * simplify * set PIC for miniz * set policies before project * reengage workaround * more runs on ci * Add cmake presets * Add cpack * move iterator debug level to preset * Correct lib flag * simplify action * Neaten cmake init * Add todo * Add simple test wrapper * Add tests to workflow presets * rename packing preset * Correctly set definitions * docs * correct preset names * Make slang-test depend on test-server/test-process * neaten * use workflow in actions * install docs * Correct module install dir * debug dist workflow * Install headers * neaten header globbing * Neaten dependency handling * make lib and bin variables * Do not set compiler for vs builds, unnecessary * docs * allow setting explicit source for target * maintain archive subdir * cmake docs * install headers * place targets into folders * cmake docs * nest external projects in folder * remove name clash * Neater external packages * meta targets in folder structure * cleaner slang-glslang dll * Add missing static directive to slang-no-embedded-stdlib * more robust module copying * make slang-test the startup project * folder tweak * Make FETCH_BINARY the default on all platforms * Set DEBUG_DIR * add natvis files to source * skip spirv tests * remove test step from debug dist * Add build to .gitignore * redo warnings to be more like premake * Update imgui * clean more premake files * Disable PCH for glslang, gcc throws a warning * Add /MP for msvc builds * warning wobble * Add script to build llvm * Add slang-llvm and generators components * Build slang-llvm in ci * comments * fetch llvm with git * better abi approximation for cache * better sccache key * formatting * Correct logic around disabling problematic debug info for ccache * exclude gcc and clang from windows ci * Make dist workflows use system llvm * naming * restore normal dist builds * formatting * run tests in ci * Correct slang-llvm url setting * Rely on the system to find the test tool library * actions matrix wiggle * cope with OSX ancient bash * Correct compilers on windows * more ci debugging * Correct rpath handling on OSX * neaten * correct path to slang-llvm * Correct rpath separator on osx * Find slang-llvm correctly * smoke tests only on osx * ci wobble * Give MacOS module a dylib suffix * get swiftshader correctly * cope with bsd cp * remove debug output * full tests on osx * ci wobble * Add some vk tests to expected failures * simplify ci * ci wobble * exclude dx12 tests from github ci * remove cmake code for building llvm * warnings * warnings as errors for cl * spirv-tools in path * add aarch64 ci build * Add SLANG_GENERATORS_PATH option for prebuilt generators * neaten * Correct generator target name * remove yaml anchors because github actions does not support them * Demote CMake in docs Also add info on cross compiling * Restore premake CI * use minimal ci for cmake * Write miniz_export for premake build and .gitignore it * Mention build config tool options in docs * Remove redefined macro for miniz * regenerate vs project 08 December 2023, 11:24:34 UTC
9903688 Update autodiff doc links. 07 December 2023, 01:57:28 UTC
8a15865 Update README.md (#3383) 07 December 2023, 01:56:24 UTC
3e9b0ba Update 04-modules-and-access-control.md 06 December 2023, 23:55:20 UTC
8102e5e Change default visibility of interface members and update docs. (#3381) * Update behavior around interfaces and docs. * Update toc --------- Co-authored-by: Yong He <yhe@nvidia.com> 06 December 2023, 23:52:02 UTC
11111e5 Support visibility control and default to `internal`. (#3380) * Support visibility control and default to `internal`. * Fix wip. * Fixes. * Fix. * Fix test. * Add legacy language detection and compatibility for existing code. * Add doc. --------- Co-authored-by: Yong He <yhe@nvidia.com> 06 December 2023, 20:05:07 UTC
fa6d871 squash warnings (#3378) Co-authored-by: Yong He <yonghe@outlook.com> 06 December 2023, 02:28:23 UTC
1050e0e Support `include` for pulling file into the current module. (#3377) * Support `include` for pulling file into the current module. * Add auto-completion, hover info and goto-def support. * Disable warning for missing `module` declaration for now. --------- Co-authored-by: Yong He <yhe@nvidia.com> 05 December 2023, 18:06:19 UTC
4fb3b10 Improve generic type argument inference. (#3370) * Improve generic type argument inference. * Fix. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 29 November 2023, 19:29:14 UTC
62426e9 Misc language server fixes. (#3357) 28 November 2023, 17:15:31 UTC
a2083d6 Update 07-autodiff.md 27 November 2023, 21:46:26 UTC
b584526 typo in intro doc (#3350) Co-authored-by: Yong He <yonghe@outlook.com> 27 November 2023, 21:44:54 UTC
a7a7732 typo re: global variables (#3351) Co-authored-by: Yong He <yonghe@outlook.com> 27 November 2023, 21:44:24 UTC
b247fc1 Fix spirv intrinsics for partial derivatives. (#3355) Co-authored-by: Yong He <yhe@nvidia.com> 27 November 2023, 21:43:54 UTC
5af36cf Add SPIRV intrinsics for texture footprint query. (#3345) * Add SPIRV intrinsics for texture footprint query. * Cleanup. --------- Co-authored-by: Yong He <yhe@nvidia.com> 22 November 2023, 01:22:41 UTC
383c0ef Add missing SPIRV intrinsics for texture operations. (#3343) * Add missing SPIRV intrinsics for texture operations.. * Fixes. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 20 November 2023, 22:51:27 UTC
fcc570c Allow whole program compile when using direct spirv backend. (#3342) Co-authored-by: Yong He <yhe@nvidia.com> 20 November 2023, 19:00:39 UTC
c5a6348 Add spirv intrinsic definition for `printf`. (#3340) 18 November 2023, 01:50:16 UTC
6f22477 Update README.md (#3339) 17 November 2023, 21:26:14 UTC
27243ce warnings (#3335) * ignores * Remove unused variables * Squash out of bounds warning --------- Co-authored-by: Yong He <yonghe@outlook.com> 17 November 2023, 18:50:40 UTC
240aa24 GLSL/SPIRV Fixes. (#3337) 17 November 2023, 05:23:13 UTC
6732f57 experimental fix: return `JSONValue::Type::Null` as "" (#3336) 17 November 2023, 04:53:33 UTC
4c78efd Unify stdlib `Texture` types into one generic type. (#3327) * Unify Texture types in stdlib into 1 generic type. * Fixes. * Fix. * Fixes. * Fix reflection. * Fix binding reflection. * Add gather intrinsics. * Fix gather intrinsics. * Fix texture type toText. * Fix intrinsic. * fix cuda intrinsic. * Fix project files. * cleanup. * Fix. * Fix. * Fix sampler feedback test. * Fix getDimension intrinsics. * Fix spirv sample image intrinsics. * Fix test. * Fix GLSL intrinsic. * Cleanup. --------- Co-authored-by: Yong He <yhe@nvidia.com> 16 November 2023, 22:32:33 UTC
12f7237 Add GLSL Compatibility. (#3321) * Parse glsl buffer blocks to GLSLInterfaceBlockDecl * Parse glsl local size layout declarations * Parse (and ignore) glsl version directives * spelling * Better l-value interpretation for glsl interface blocks * Better l-value interpretation for glsl interface blocks * Add compile flag for enabling glsl * Parse and ignore precision modifiers. * Automatically import `glsl` module for compatiblity. * Complete vector and matrix types for glsl * Remove generated file from repo * Bump .gitignore * do not mark out globals as params * Synthesize entrypoint layout from global inout vars. * update test result. * Allow HLSL semantic on global variables. * Fix. * Fix test. * Fix win32 compile error. * Add more builtin input/output and texture intrinsics. * Add struct/array constructor syntax. * Skip `#extension` lines. * overide operator * for matrix/vector multiplication. * Add `matrixCompMult`. * Parse modifiers in for loop init var declr. * Add more glsl intrinsics, add stage into to var layout. * Allow `int[3] x` syntax. * Fix array type syntax. --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com> Co-authored-by: Yong He <yhe@nvidia.com> 15 November 2023, 01:46:05 UTC
c71b127 Fix Phi simplification bug (#3325) Fixes https://github.com/shader-slang/slang/issues/3323 13 November 2023, 17:02:08 UTC
011d428 Cleanup builtin arithmetic interfaces. (#3317) * wip: clean up IArithmetic * wip. * Cleanup builtin arithmetic interfaces. * Fix. * Fixes. * Fix. * Fix. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 10 November 2023, 21:55:14 UTC
bfd3f39 Fix HitObject::GetInstanceIndex/ID() for glsl/spirv (#3315) Co-authored-by: Yong He <yonghe@outlook.com> 08 November 2023, 03:04:36 UTC
0f2578d Add `IRThisTypeWitness` to stand in for witness lookups inside an interface definition. (#3316) Co-authored-by: Yong He <yhe@nvidia.com> 08 November 2023, 03:03:52 UTC
4219419 CUDA: Fixes for NVRTC 12.x and warp mask ambiguity; adds CC 8.x warp reduction intrinsics. (#3314) * CUDA: Fixes for NVRTC 12.x, warp mask ambiguity; add reduction partial specializations. * Fixes running NVRTC on CUDA 12 without a specified profile (used in testing, e.g. `slang-test -api cuda -category wave`) * Fixes mask ambiguity between getting the lane index from threadId.x and a full mask of threads. * Adds partial specializations for compute capability 8.x warp reduction intrinsics. * Fix formatting 07 November 2023, 19:47:18 UTC
46529df Fix ICE when lowering an associatedtype declref from an derived interface. (#3312) * Fix ICE when lowering an associatedtype declref from an derived interface. * Fixes. * Fix test. * Fix GLSL/SPIRV image subscript swizzle store regression. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 06 November 2023, 22:40:38 UTC
da9e0ad Correctly pass values from the conditional block to the loop during inversion (#3311) Co-authored-by: Yong He <yonghe@outlook.com> 06 November 2023, 21:21:49 UTC
79677b8 Add SubgroupQuad intrinsics for glsl/spirv. (#3310) * Add SubgroupQuad intrinsics for glsl/spirv. * Fix. * Add test for quad intrinsics. * fix. * improve diagnostics text. * Fix. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 04 November 2023, 00:10:09 UTC
111de4d Update 07-autodiff.md 03 November 2023, 21:40:18 UTC
cc22270 Add more diagnostics on invalid custom derivative use. (#3309) * Add more diagnostics on invalid custom derivative use. * cleanup. --------- Co-authored-by: Yong He <yhe@nvidia.com> 03 November 2023, 19:49:23 UTC
911a440 Fix crash when writing to `no_diff` out parameter. (#3308) * Fix crash when writing to `no_diff` out parameter. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 02 November 2023, 21:54:22 UTC
72e95f2 Several spirv intrinsics and small fix (#3307) * spirv intrinsic for faceforward * spirv intrinsic for fwidth * spirv intrinsic for modf * spirv intrinsic for nonuniformresourceindex * spirv intrinsic for transpose * Make sure address space matches for OpAccessChain * Correct placement for OpDecorate instructions in spirv asm blocks 02 November 2023, 20:00:16 UTC
e712ebd Add mnemonic parsing for `intrinsic_type` modifier. (#3306) Co-authored-by: Yong He <yhe@nvidia.com> 02 November 2023, 05:49:30 UTC
6aca381 Parameter binding and gfx fixes. (#3302) * Parameter binding and gfx fixes. * Add diagnostics on entry point parameters. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 02 November 2023, 04:42:12 UTC
532c432 Add OpDot for spirv (#3304) Co-authored-by: Yong He <yonghe@outlook.com> 02 November 2023, 03:22:14 UTC
12e69ff add support for dx 6.7 profiles (#3299) 01 November 2023, 16:48:44 UTC
1ac6638 Disable frexp test on swiftshader. (#3294) * Disable frexp test on swiftshader. * Fix windows release script. --------- Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 23:19:02 UTC
aed3bd6 Remove use of `::set-output` in github actions. (#3293) Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 22:36:25 UTC
02e6c6b Update to Bearer/tap/gon for macos notarization. (#3292) Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 22:04:25 UTC
41e17d3 Make the exponent return value from frexp int (#3284) * Make the exponent return value from frexp int Fixes https://github.com/shader-slang/slang/issues/3282 * Update slang-llvm. --------- Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 22:03:34 UTC
bee74b1 Add more diagnostics around use of custom derivatives. (#3291) Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 21:01:26 UTC
927d176 Fix generic specialization bug. (#3290) * Fix generic specialization bug. * Update test. --------- Co-authored-by: Yong He <yhe@nvidia.com> 26 October 2023, 17:45:08 UTC
4572976 Update autodiff-texture example with one that auto-diffs a reference impl. (#3288) 25 October 2023, 20:31:49 UTC
1a8216b Fix warnings for gcc 12.3 (#3286) * Silence a few gcc out of bounds warnings * Search upwards from executable for prelude directory instead of assuming depth * comment wording * Check return values of read and write * Correct path to vulkan headers in gfx * Correct diagnostic on missing file in slang-embed * Do not use absolute path to libraries in test-context.cpp --------- Co-authored-by: Yong He <yonghe@outlook.com> 25 October 2023, 19:22:01 UTC
e04abb5 Fix single iteration loop detection logic. (#3287) Co-authored-by: Yong He <yhe@nvidia.com> 25 October 2023, 19:21:35 UTC
0175346 Use GLSL Scalar layout for vulkan device. (#3285) Co-authored-by: Yong He <yhe@nvidia.com> 25 October 2023, 14:50:31 UTC
5dc3c2f Add `IArray`. (#3281) * Initial support for generic interfaces. * Cleanup. * Add generic syntax for interfaces. * Add `IArray`. * Fix. * Fix. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 25 October 2023, 14:50:14 UTC
f8bf75c Support generic interfaces. (#3278) * Initial support for generic interfaces. * Cleanup. * Add generic syntax for interfaces. --------- Co-authored-by: Yong He <yhe@nvidia.com> 25 October 2023, 14:45:23 UTC
d8f4c94 Fix issue with transposing `IRMakeVector` with non-singleton operands (#3280) 21 October 2023, 01:21:30 UTC
d001a7b Add a tool to dump/replay compute pipeline creation from gfx. (#3275) * Add a tool to dump/replay compute pipeline creation from gfx. * Fix x86 build. --------- Co-authored-by: Yong He <yhe@nvidia.com> 19 October 2023, 10:49:42 UTC
7826afc Type layouts for structured buffers with counters (#3269) * More tests for append structured buffer * Append and Consume structured buffer tests for DX12 * neaten * test wobble * Add counter layout information to append/consume structured buffers * add getRWStructuredBufferType * Correct definition of get size for append/consume structured buffers * tweak append structured buffer test * Allow initializing counter buffer in render test * vulkan test for consume structured buffer * Handle null counterVarLayout in getExplicitCounterBindingRangeOffset * remove dead code * Implement atomic counter increment/decrement for spirv * explicit spirv test * Add missing check on result * Hold on to counter resources --------- Co-authored-by: Yong He <yonghe@outlook.com> 17 October 2023, 22:26:00 UTC
0a3683d Run Falcor Tests (#3270) * Run Falcor Tests * Update test config. * update config. * fix. * fix * fix. * skip slow test. * Fix ci config. --------- Co-authored-by: Yong He <yhe@nvidia.com> 16 October 2023, 23:17:56 UTC
d4b8edf Update a1-04-interop.md 13 October 2023, 20:49:02 UTC
edf90f5 Update a1-04-interop.md (#3277) 13 October 2023, 20:42:17 UTC
078cf8e Add documentation on target intrinsics. (#3276) Co-authored-by: Yong He <yhe@nvidia.com> 13 October 2023, 20:30:57 UTC
c701013 Add HitObject.GetWorldToObject. (#3273) * Add HitObject.GetWorldToObject. * fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 12 October 2023, 19:20:34 UTC
459572c Small warnings and bugs (#3272) * Correctly use removeTrivialSingleIterationLoops during simplification * remove unused variables * Fix invalid fallthrough --------- Co-authored-by: Yong He <yonghe@outlook.com> 11 October 2023, 17:53:00 UTC
61132c7 Report spirv-opt time. (#3271) * Report spirv-opt time. * Removing timing logic in `loadModule`. --------- Co-authored-by: Yong He <yhe@nvidia.com> 11 October 2023, 05:07:56 UTC
cd9a8b2 Update README.md 11 October 2023, 00:35:26 UTC
fb91955 Update slang-glslang binaries to v13.0.0.x-g (#3268) * Update slang-glslang binaries to v13.0.0.x-g * Update tests. --------- Co-authored-by: Yong He <yhe@nvidia.com> 09 October 2023, 23:53:51 UTC
a83a8b6 Update prebuilt glslang binaries. (#3267) * Update prebuilt glslang binaries. * Update spirv-disassembling logic in slang-glslang. --------- Co-authored-by: Yong He <yhe@nvidia.com> 09 October 2023, 22:07:26 UTC
67e186f Run curated spirv-opt passes through slang-glslang. (#3266) * Run curated spirv-opt passes through slang-glslang. * Cleanup. * Replace spirv-dis downstream compiler with glslang. * delete slang-spirv-opt.cpp. --------- Co-authored-by: Yong He <yhe@nvidia.com> 09 October 2023, 21:03:43 UTC
17c7163 Small type system fixes. (#3265) 06 October 2023, 21:03:18 UTC
4547125 Add intellisense support for spirv_asm blocks. (#3264) Co-authored-by: Yong He <yhe@nvidia.com> 06 October 2023, 00:05:20 UTC
441e13e Various AD Fixes (#3263) * Various fixes * Remove unused parameter * Update slang-ir-loop-unroll.cpp --------- Co-authored-by: Yong He <yonghe@outlook.com> 05 October 2023, 16:52:49 UTC
65751ce Check for extension support before enabling a feature (#3262) Co-authored-by: Yong He <yonghe@outlook.com> 05 October 2023, 16:49:19 UTC
8eb504f Use designated compiler ID in SPIRV backend. (#3261) Co-authored-by: Yong He <yhe@nvidia.com> 05 October 2023, 16:45:54 UTC
9572c60 Add `kIROp_BitOr` to known non-differentiable inst list. (#3259) Co-authored-by: Yong He <yhe@nvidia.com> 04 October 2023, 19:16:35 UTC
ac886fd SPIRV compiler performance fixes. (#3258) * SPIRV compiler performance fixes. * Cleanup. * update project files * Cleanup debug code. * Make redundancy removal non-recursive. --------- Co-authored-by: Yong He <yhe@nvidia.com> 04 October 2023, 18:20:35 UTC
d87493a More direct-SPIRV fixes. (#3257) * More direct-SPIRV fixes. * Fix array-reg-to-mem. --------- Co-authored-by: Yong He <yhe@nvidia.com> 02 October 2023, 22:39:34 UTC
cea230b Use const ref for mesh payload (#3254) * Use const ref for mesh payload * Test mesh payload hlsl output 02 October 2023, 16:05:39 UTC
ccf2611 Add SPIRV intrinsics for ShaderExecutionReordering and RW/Buffer. (#3252) * Add SPIRV intrinsics for ShaderExecutionReordering. * Add intrinsics for `Buffer` and `RWBuffer`. * Various spirv fixes. * Marshal bool vector type. * Inline global constants + OpFOrdNotEqual->OpFUnordNotEqual. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 02 October 2023, 10:33:58 UTC
6138de5 Fix for problem with OrderedHashSet causing crash (#3251) * Fix for problem with OrderedHashSet causing crashes during running tests on on g++ 7.3 * Fix typo 29 September 2023, 23:10:22 UTC
f20f4e2 Add `requirePrelude()` intrinsic function. (#3250) * Add `requirePrelude()` intrinsic function. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 29 September 2023, 19:01:36 UTC
af61737 [Direct SPIRV]: ray tracing pipeline intrinsics. (#3244) * Use a dedicated inst opcode to retrieve ray payload locations. * [Direct SPIRV]: ray tracing pipeline intrinsics. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 29 September 2023, 01:08:06 UTC
b7d318f Support `constref` parameters passing. (#3249) * Support `constref` parameters passing. * Fix. * Fix. * Add test and diagnostic on mix use of __constref and no_diff. * check for [constref] on differentiable member method. --------- Co-authored-by: Yong He <yhe@nvidia.com> 29 September 2023, 01:07:40 UTC
e723894 Fix `TensorView.store()` definition (#3248) 28 September 2023, 06:19:54 UTC
e698b4a Remove `[NoSideEffect]` from `DiffTensorView.store()` (#3247) Co-authored-by: Yong He <yonghe@outlook.com> 28 September 2023, 05:45:09 UTC
e710fac Fix a bug in `canInstHaveSideEffectAtAddress`. (#3246) Co-authored-by: Yong He <yhe@nvidia.com> 28 September 2023, 05:39:22 UTC
12e8ce5 Fix regression on no_diff type transcription. (#3245) Co-authored-by: Yong He <yhe@nvidia.com> 28 September 2023, 05:35:58 UTC
9833ff9 Fix `isMovableInst`. (#3243) Co-authored-by: Yong He <yhe@nvidia.com> 27 September 2023, 18:46:29 UTC
8326248 WIP Mesh shaders for SPIR-V (#3226) * SPIR-V impl for SetMeshOutputCounts and DispatchMesh * Unsightly fix for legalization ordering differences between GLSL and SPIR-V * spelling * Start a new block after terminating one in the OpEmitMeshTasksExt SPIR-V asm block * Emit mesh shader decorations in SPIR-V * Mesh and task shader stages for spir-v * Output explicit gl builtins for spir-v * Be more hygenic when SOAizing mesh outputs * Do not create builtin paramter block for spirv mesh outputs * Pass mesh payloads around by ref * comment * less expected failure * remove unused * Add spirv op * Correct type query for default flat modifier --------- Co-authored-by: Yong He <yonghe@outlook.com> 27 September 2023, 18:46:03 UTC
771b3ef Avoid make copies of __ref parameters when doing autodiff. (#3242) Co-authored-by: Yong He <yhe@nvidia.com> 27 September 2023, 18:36:31 UTC
ebe8dde Various SPIRV fixes. (#3231) * Various SPIRV fixes. - Geometry shader support (WIP). - Fix texture get dimension and load. - Fold global GetElement(MakeArray/MakeVector) insts. - Call spvopt to inline all functions. - Translate OpImageSubscript. - Emit struct member names and global variable names. - Fix lowering of OpBitNot -> OpNot, instead of OpBitReverse. * Fix test. * Fix geometry shader. * Fix geometry shader emit. * Add atomic Image access test. * Fix tests. * don't fail if spirv-opt fails. * Update comments. * Fix test. * Cleanups. * indentation --------- Co-authored-by: Yong He <yhe@nvidia.com> Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com> 27 September 2023, 06:56:06 UTC
c5c8cfb Handle the case where the parent if-else region's after-block is unreachable. (#3241) Also added a test for this. Co-authored-by: Yong He <yonghe@outlook.com> 27 September 2023, 00:50:13 UTC
a18dca2 Fix for epoch/ASTBuilder* nullptr issue (#3240) * Fix issue with failing tests tests/serialization/serialized-module-test.slang tests/serialization/extern/extern-test.slang * Fix issue with session destruction order on Session. * Improve comment. 26 September 2023, 19:40:22 UTC
6c99194 Add test for vector-element contiguity error (#3235) 25 September 2023, 22:30:34 UTC
56c4a8c Update a1-02-slangpy.md (#3237) 25 September 2023, 22:29:35 UTC
2e76151 Fix for threading issues around global session & epoch ids. (#3232) * Fix for threading issues around global session & epoch ids. * Make m_epochId atomic for thread visibility. 25 September 2023, 15:52:18 UTC
ab04bd0 More `slangpy` features + polishing (#3233) * Update user-guide with new slangpy features * More polishing of new slangpy docs * Update a1-02-slangpy.md * Only require contiguity for vector element types * Added `loadOnce/storeOnce` and subscript operations * Added docs, `DiffTensorView.dims()` & `DiffTensorView.stride(uint)` * Add constructors, remove storeOnce/loadOnce test * Adjusted intrinsic definitions 23 September 2023, 16:11:45 UTC
263f807 Update a1-02-slangpy.md (#3228) 21 September 2023, 23:03:16 UTC
e31a967 Revert inlining change in #3217. (#3229) Co-authored-by: Yong He <yhe@nvidia.com> 21 September 2023, 23:02:04 UTC
5b2eb06 Various slangpy fixes. (#3227) * Make dynamic cast transparent through `IRAttributedType`. * Add [CUDAXxx] variant of attributes. * Support marshaling of vector types. * Wrap cuda kernels in `extern "C"` block. --------- Co-authored-by: Yong He <yhe@nvidia.com> 21 September 2023, 21:00:48 UTC
af8ce68 Misc SPIRV fixes. (#3220) Co-authored-by: Yong He <yhe@nvidia.com> 21 September 2023, 17:39:19 UTC
85d40ed Emit loads for array resources correctly (#3214) * Emit loads for array resources correctly * Put arrays of UniformConstant resources in UniformConstant * less expected failure * This code was actually used --------- Co-authored-by: Yong He <yonghe@outlook.com> 21 September 2023, 16:45:53 UTC
back to top