Skip to content

Commit 8bdf3d1

Browse files
authored
Update 04_rendering_approaches.adoc
1 parent be45542 commit 8bdf3d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/Building_a_Simple_Engine/Mobile_Development/04_rendering_approaches.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ Proper depth testing is crucial for TBR performance:
183183

184184
* *Avoid Operations That Disable Early-Z*: The following operations can prevent effective early depth testing:
185185
- Using the discard instruction in fragment shaders
186-
- Writing to gl_FragDepth explicitly
186+
- Writing to gl_FragDepth (GLSL) SV_Depth (slang) explicitly
187187
- Using storage images or storage buffers
188-
- Using gl_SampleMask
188+
- Using gl_SampleMask (GLSL explicit way to turn on/off specific pixels)
189189
- Enabling both depth bounds and depth write
190190
- Enabling both blending and depth write
191191

0 commit comments

Comments
 (0)