Skip to content
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 634 commits into from
Dec 10, 2022
Merged

Sync with SDK ver 224 #3

merged 634 commits into from
Dec 10, 2022

Conversation

kd-11
Copy link
Collaborator

@kd-11 kd-11 commented Dec 10, 2022

No description provided.

greg-lunarg and others added 30 commits October 22, 2021 14:44
…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
glslang should report a error for Feature: last case/default label not followed by statements'.
…teger_mix

Add the preamble for GL_EXT_shader_integer_mix
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
…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]>
AMD-dwang and others added 24 commits July 18, 2022 14:20
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.
…and_late_fragment_tests

Add SPV_AMD_shader_early_and_late_fragment_tests
…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.
…ild_arm64_binaries_mac

Revert "Fix: Build arm64 binaries for macOS"
…changes

Update CHANGES for release 11.11.0
…cmake-minimum

Update cmake minimum required version
@kd-11 kd-11 changed the title Sdk 224 Sync with SDK ver 224 Dec 10, 2022
@kd-11 kd-11 merged commit b8f9add into RPCS3:master Dec 10, 2022
@kd-11 kd-11 deleted the sdk_224 branch December 10, 2022 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.