Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d65131

Browse files
committedFeb 21, 2025
SPIRV ControlFlow helper class
Implements maximal reconvergence
1 parent 67d9654 commit 8d65131

File tree

5 files changed

+731
-0
lines changed

5 files changed

+731
-0
lines changed
 

‎renderdoc/driver/shaders/spirv/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ set(sources
9898
glslang_compile.h
9999
spirv_common.cpp
100100
spirv_common.h
101+
spirv_controlflow.cpp
101102
spirv_editor.cpp
102103
spirv_editor.h
103104
spirv_gen.cpp

‎renderdoc/driver/shaders/spirv/renderdoc_spirv.vcxproj

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
<PrecompiledHeaderFile>precompiled.h</PrecompiledHeaderFile>
157157
<ForcedIncludeFiles>precompiled.h</ForcedIncludeFiles>
158158
</ClCompile>
159+
<ClCompile Include="spirv_controlflow.cpp" />
159160
<ClCompile Include="spirv_debug.cpp">
160161
<WarningLevel>Level4</WarningLevel>
161162
<PrecompiledHeader>Use</PrecompiledHeader>
@@ -266,6 +267,7 @@
266267
<ClInclude Include="precompiled.h" />
267268
<ClInclude Include="spirv_common.h" />
268269
<ClInclude Include="spirv_compile.h" />
270+
<ClInclude Include="spirv_controlflow.h" />
269271
<ClInclude Include="spirv_debug.h" />
270272
<ClInclude Include="spirv_editor.h" />
271273
<ClInclude Include="spirv_gen.h" />

‎renderdoc/driver/shaders/spirv/renderdoc_spirv.vcxproj.filters

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
<ClCompile Include="..\..\..\3rdparty\glslang\glslang\ResourceLimits\ResourceLimits.cpp">
153153
<Filter>3rdparty\glslang</Filter>
154154
</ClCompile>
155+
<ClCompile Include="spirv_controlflow.cpp" />
155156
</ItemGroup>
156157
<ItemGroup>
157158
<ClInclude Include="..\..\..\3rdparty\glslang\OGLCompilersDLL\InitializeDll.h">
@@ -320,5 +321,6 @@
320321
<ClInclude Include="..\..\..\3rdparty\glslang\glslang\Public\ResourceLimits.h">
321322
<Filter>3rdparty\glslang</Filter>
322323
</ClInclude>
324+
<ClInclude Include="spirv_controlflow.h" />
323325
</ItemGroup>
324326
</Project>

0 commit comments

Comments
 (0)
Please sign in to comment.