Merge branch 'KhronosGroup:master' into rt_motion
This commit is contained in:
commit
da8027a9df
@ -198,7 +198,7 @@ elseif(MSVC)
|
|||||||
if(ENABLE_EXCEPTIONS)
|
if(ENABLE_EXCEPTIONS)
|
||||||
add_compile_options(/EHsc) # Enable Exceptions
|
add_compile_options(/EHsc) # Enable Exceptions
|
||||||
else()
|
else()
|
||||||
string(REGEX REPLACE /EHsc "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # Try to remove default /EHsc cxx_flag
|
string(REGEX REPLACE "/EHsc" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") # Try to remove default /EHsc cxx_flag
|
||||||
add_compile_options(/D_HAS_EXCEPTIONS=0)
|
add_compile_options(/D_HAS_EXCEPTIONS=0)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@ -2812,6 +2812,7 @@ void Builder::accessChainStore(Id rvalue, Decoration nonUniform, spv::MemoryAcce
|
|||||||
accessChain.component == NoResult) {
|
accessChain.component == NoResult) {
|
||||||
for (unsigned int i = 0; i < accessChain.swizzle.size(); ++i) {
|
for (unsigned int i = 0; i < accessChain.swizzle.size(); ++i) {
|
||||||
accessChain.indexChain.push_back(makeUintConstant(accessChain.swizzle[i]));
|
accessChain.indexChain.push_back(makeUintConstant(accessChain.swizzle[i]));
|
||||||
|
accessChain.instr = NoResult;
|
||||||
|
|
||||||
Id base = collapseAccessChain();
|
Id base = collapseAccessChain();
|
||||||
addDecoration(base, nonUniform);
|
addDecoration(base, nonUniform);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user