Use line and column from node on DebugLexicalBlock.
* Fix bug in TestFixture.h, debug info gets enabled when nonsemantic debug info is requested.
This commit is contained in:
parent
48f63fe4b3
commit
f69d2768e5
21 changed files with 7746 additions and 6750 deletions
|
|
@ -262,6 +262,14 @@ public:
|
|||
shader.setAutoMapLocations(true);
|
||||
shader.setAutoMapBindings(true);
|
||||
}
|
||||
|
||||
if (enableDebug) {
|
||||
shader.setDebugInfo(true);
|
||||
}
|
||||
if (enableNonSemanticShaderDebugInfo) {
|
||||
assert(enableDebug && "Debug must be on for non-semantic debug info");
|
||||
}
|
||||
|
||||
shader.setTextureSamplerTransformMode(texSampTransMode);
|
||||
#ifdef ENABLE_HLSL
|
||||
shader.setFlattenUniformArrays(flattenUniformArrays);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue