summaryrefslogtreecommitdiffstats
path: root/source/slang/type-layout.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-01-03 10:17:17 -0800
committerGitHub <noreply@github.com>2018-01-03 10:17:17 -0800
commit51f0701989ac4730cd87f0d8c656a1c6b1618255 (patch)
tree5f8846403385297663315087bd7cc0fb85edbe8c /source/slang/type-layout.cpp
parent1e0aabf4b28f48bfbfee7b1a9c08031892c004d0 (diff)
Fix struct decl order again (#348)
* Add core.natvis file to Slang DLL build It seems that when `slang.dll` gets loaded into a user's project, the debugger is able to pick up the custom visualizers implemented in `slang.natvis` (which is directly added to the DLL project) but not `core.natvis` (which is added to a static library project that the DLL project references). Adding `core.natvis` to the DLL project directly seems to resolve this and greatly improve the debugging experience when in user code. * Bug fix: emit type of CB before CB when using IR The problem here was the logic for emitting types used by an IR declaration before the declaration. I refactored it to share logic between variables with initializers and functions, but in doing so failed to have an ordinary variable (which includes constant buffers) ensure that its own type was emitted before the variable. This is a one-line fix.
Diffstat (limited to 'source/slang/type-layout.cpp')
0 files changed, 0 insertions, 0 deletions