From faf042ecc3e688a1a3ffbe1ac44d18dd7ddf441a Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 29 May 2025 08:05:57 -0700 Subject: Language version + tuple syntax. (#7230) * Language version + tuple syntax. * Fix compile error. * regenerate documentation Table of Contents * Fix. * regenerate command line reference * Fix. * Fix. * Fix more test failures. * revert empty line change, * Retrigger CI * #version->#lang * Update source/core/slang-type-text-util.cpp Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> * Remove comments. * Fix parsing logic. * Fix parser. * Fix parser. * update test comment * Update options. * regenerate documentation Table of Contents * regenerate command line reference --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> --- source/slang-record-replay/replay/parameter-decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang-record-replay/replay/parameter-decoder.cpp') diff --git a/source/slang-record-replay/replay/parameter-decoder.cpp b/source/slang-record-replay/replay/parameter-decoder.cpp index afe4f716d..f986fbfbe 100644 --- a/source/slang-record-replay/replay/parameter-decoder.cpp +++ b/source/slang-record-replay/replay/parameter-decoder.cpp @@ -84,7 +84,7 @@ size_t ParameterDecoder::decodeStruct( SlangGlobalSessionDesc& desc = sessionDesc.getValue(); readByte = decodeUint32(buffer, bufferSize, desc.structureSize); readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.apiVersion); - readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.languageVersion); + readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.minLanguageVersion); uint32_t val = 0; readByte += decodeUint32(buffer + readByte, bufferSize - readByte, val); desc.enableGLSL = (val != 0); -- cgit v1.2.3