diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-11-01 13:23:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-01 13:23:45 -0700 |
| commit | 82f57ae3561e9f9e8ece8ab6c12c2b318580bc38 (patch) | |
| tree | 56ad0a6b0c47ddc5b3f866bf2a60bd6e074ba49e /source/core/smart-pointer.h | |
| parent | e55d8dcb9fc5607b429f7120d8f5373cecf93e1f (diff) | |
Disable warnings when compiling through dxc (#710)
I had hoped to just disable certain warnings (false positives that trigger based on how Slang outputs HLSL code), but dxc doesn't support fine-grained control over warnings from the command line (we might investigate `#pragma`-based options later). There are enough user complaints about how downstream compiler errors come mixed with tons of distracting warnings that disabling them will lead to a better user experience for now.
This change also fixes a long-standing bug where apparently dxc does *not* guaranteee that the diagnostic blob it returns is nul-terminated (despite this convention being established by fxc), so that we need to nul-terminate it ourselves before emitting any diagnostic messages produced by dxc.
Diffstat (limited to 'source/core/smart-pointer.h')
0 files changed, 0 insertions, 0 deletions
