https://github.com/shader-slang/slang
Revision ab04bd0dd7dd6a818bbac8c5fef9372c4f597352 authored by Sai Praveen Bangaru on 23 September 2023, 16:11:45 UTC, committed by GitHub on 23 September 2023, 16:11:45 UTC
* 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
1 parent 263f807
Raw File
Tip revision: ab04bd0dd7dd6a818bbac8c5fef9372c4f597352 authored by Sai Praveen Bangaru on 23 September 2023, 16:11:45 UTC
More `slangpy` features + polishing (#3233)
Tip revision: ab04bd0
.editorconfig
# This file sets up basic text editor behavior
# using EditorConfig: http://EditorConfig.org.
#
# Some editors will import and use the settings from
# this file automatically, while others need a plugin.

# Editors are supposed to search upwards from a source
# file to find configuration settings until they see
# a "root" file. This file should be a root:
#
root = true

# Shared configuration for all C/C++ and Slang code
#
[*.{c,cpp,h,slang}]

# Use UTF-8 encoding
#
charset = utf-8

# Indent using 4 spaces.
#
indent_style = space
indent_size = 4

# Insert a newline at the end of the file
# if one is missing (this used to be officially
# required by C, but it is also just a tidyness thing)
#
insert_final_newline = true

# Removing end of line whitespace is somewhat desirable, but 
# seems to add unwanted noise to PRs. This is especially when different
# contributors source editors may or may not honor this setting. 
# So disable for now.
trim_trailing_whitespace = false
back to top