summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2025-03-06 17:41:35 +0200
committerGitHub <noreply@github.com>2025-03-06 10:41:35 -0500
commit55dd2deaff82bbdb72e125ba4b350030b7e5f427 (patch)
tree51cca7dbb6644ddf4ba19e179dc9ba4cb0734d81 /external
parent965f96261e2f2674b06be24ad6889c0f022aeff9 (diff)
Get options also from the default target (#6530)
This helps to address issue #4760. The particular issue motivating this fix is that IGlobalSession::parseCommandLineArguments uses a temporary compile request to parse options. The compile request only adds the OptionKind::ForceDXLayout (-fvk-use-dx-layout) to the "current target" which may be the default target, which IGlobalSession::parseCommandLineArguments didn't look for, meaning that options like ForceDXLayout were just ignored. This leads to test failures in tests that rely on this option, e.g. tests/spirv/cbuffer-dx-layout-1.slang.
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions