forked from KhronosGroup/glslang
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with SDK ver 224 #3
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ageCheck Fix cross-stage check to allow subsequent stage to use previous stage's binding
Fix KhronosGroup#2760. Implement the optional function select_on_container_copy_contruction to return a default-contructed allocator for containers that are copy-constructed. This gives copy-constructed containers a pool allocator for the current thead. There may be a similar problem with the copy contructor which takes allocators of type "Other" but, in practice, there is only one place where this is being used and the allocators are always the same. (i.e. executing from the same thread)
Return new allocator for copied containers
These are not supported in core GLSL or under any extension Fixes 2793
Remove support for double trig, pow, exp and log
…by statements'. Signed-off-by: ZhiqianXia <[email protected]>
glslang should report a error for Feature: last case/default label not followed by statements'.
Signed-off-by: ZhiqianXia <[email protected]>
…teger_mix Add the preamble for GL_EXT_shader_integer_mix
Signed-off-by: ZhiqianXia <[email protected]>
Per SPIR-V spec, a string literal's UTF-8 octets are encoded packed into words with little-endian convention. Explicitly perform that encoding instead of assuming that the host system is little-endian. Note that this change requires corresponding fixes in SPIRV-Tools. Fixes KhronosGroup#202
Currently, ShInitialize() and friends call glslang::InitGlobalLock() which *overwrites* the global mutex. As such, even though it ostensibly takes a mutex, this function is actually completely thread-unsafe. Fix it by using pthread_once to ensure the mutex is only initialized once, and then never again.
Otherwise this can race with other threads for access to the fields it's supposed to be initializing/finalizing. For example, imagine another thread is calling ShInitialize() while the first thread is calling ShFinalize() - the finalize function would destroy the state at the same time as the initialize function is trying to initialize it. Holding on to the global lock for the entire function prevents all of these failure modes.
…anced Support the #extension GL_ARB_draw_instanced.
Add support for targeting Vulkan 1.2 in the C API
There were two implementations of isInf() and isNan(), in Constant.cpp and in intermOut.cpp. The former only works on little-endian systems, the latter is a wrapper for library functions and works regardless of endianness. Move the second version into Common.h and adopt it in both places. Thereby avoid the duplication and fix for big-endian systems. On s390x, this fixes the test case Glsl/CompileToAstTest.FromFile/constFold_frag. Fixes KhronosGroup#2802
Use intermOut.cpp's IsNan and IsInfinity for parse-time constant folding
Thread safety fixes
…eValidationForGl_PerVertex Fix incorrect link time validation for unused gl_PerVertex members
Cannot apply binding qualifier to push_constant
So the best function matching algorithm should be actived. Signed-off-by: ZhiqianXia <[email protected]>
Signed-off-by: ZhiqianXia <[email protected]>
Fix test spv.1.4.OpEntryPoint.frag
Previously, GL_KHR_ray_tracing was a required extension to generate OpConvertUToAccelerationStructureKHR conversion instructions from uint64 and uvec2. However, both GL_KHR_ray_tracing and GL_KHR_ray_query should provide this construction. Change-Id: I6564c127fd28d9b527d334958a5adc168f5cdd9a
…truct Make GL_KHR_ray_query provide EOpConstructAccStruct
Fix KhronosGroup#2658: Properly include all headers in deployments
This file was accidentally using mixed tabs and spaces.
Update release description
…tabs Replace tabs with spaces
…and_late_fragment_tests Add SPV_AMD_shader_early_and_late_fragment_tests
…macos-runner Update MacOS runner
…sGroup#2987) * Avoid double-free in functions cloned for vulkan relaxed mode When rewriting function calls atomicCounterIncrement and atoicCounterDecrement, clone the parameters so that the TParameter 'type' field is cloned. This avoids double-free when both the original and transformed functions are deleted by the parser. Fixes a ubsan failure.
Fix: Build arm64 binaries for macOS
…ild_arm64_binaries_mac Revert "Fix: Build arm64 binaries for macOS"
…known-good Update known_good.json
…changes Update CHANGES for release 11.11.0
…cmake-minimum Update cmake minimum required version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.