Skip to Content
GPU Pro 6
book

GPU Pro 6

by Wolfgang Engel
July 2015
Intermediate to advanced
586 pages
17h 21m
English
A K Peters/CRC Press
Content preview from GPU Pro 6
3. ANGLE: Bringing OpenGL ES to the Desktop 531
gence caused by taking different branches may cause differentiated variables to
not have meaningful values for some of the pixels, and thus there’s an undefined
discontinuity in the differentiation. GLSL deals with this by simply stating that
the result is undefined, while for HLSL it causes a compilation error. You can
either use a texture-sampling intrinsic with an explicitly specified LOD value or
“flatten” the branches that contain texture sampling intrinsics. Flattening means
that all pixels execute all code blocks and the desired results are selected after-
ward. Until recently, there was no control ov ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GPU Pro 4

GPU Pro 4

Wolfgang Engel
GPU Pro 5

GPU Pro 5

Wolfgang Engel
GPU Pro 7

GPU Pro 7

Wolfgang Engel
GPU PRO 3

GPU PRO 3

Wolfgang Engel

Publisher Resources

ISBN: 9781482264623