From 4abbfd9169c783a1af6ba75d7ad8a2446ca349d3 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 23 Feb 2017 14:53:54 +0000 Subject: [PATCH] Add documentation for run-to-sample or run-to-NaN/infinity buttons --- docs/how/how_debug_shader.rst | 8 ++++++++ docs/imgs/icons/runnaninf.png | Bin 0 -> 457 bytes docs/imgs/icons/runsample.png | Bin 0 -> 426 bytes 3 files changed, 8 insertions(+) create mode 100644 docs/imgs/icons/runnaninf.png create mode 100644 docs/imgs/icons/runsample.png diff --git a/docs/how/how_debug_shader.rst b/docs/how/how_debug_shader.rst index c8da855d2..294b3415f 100644 --- a/docs/how/how_debug_shader.rst +++ b/docs/how/how_debug_shader.rst @@ -72,6 +72,14 @@ The keyboard shortcuts for these controls are :kbd:`F5` and :kbd:`Shift-F5` resp You can set a breakpoint by pressing :kbd:`F9` (this will also remove a breakpoint that is already there). When running in each direction or to cursor (see below) if execution hits a breakpoint it will stop. +.. |runsample| image:: ../imgs/icons/runsample.png + +This button will run to the next texture load, gather or sample operation, and stop as if a breakpoint had been placed on that instruction. + +.. |runnaninf| image:: ../imgs/icons/runnaninf.png + +This button will run to the next operation that generates either a NaN or infinity value instead of a floating point value. This will not apply to operations that produce integer results which may be NaN/infinity when interpreted as float. + .. |stepnext| image:: ../imgs/icons/stepnext.png .. |stepprev| image:: ../imgs/icons/stepprev.png diff --git a/docs/imgs/icons/runnaninf.png b/docs/imgs/icons/runnaninf.png new file mode 100644 index 0000000000000000000000000000000000000000..e993104244283271c0c5dd718acbd2f00bb58038 GIT binary patch literal 457 zcmV;)0XF`LP)PWd*^V^<=p$;1^yv&zs|grujUGs1@QEpCLzdWEWNnb z>-98%HvoGJ&K1H?L`Jn*H8)nfx*djbtcX$o+A(ZM+qU94sW_PHgdPra0KfoXC?Yt_ zA()4*5c?yoXAX0iurdw8O~xz$U?KqM0mzTEo;%Fp+6>;OI-zuhNC7wo5Z+WO%Qhls z>q8ujXD@>ZM literal 0 HcmV?d00001 diff --git a/docs/imgs/icons/runsample.png b/docs/imgs/icons/runsample.png new file mode 100644 index 0000000000000000000000000000000000000000..99d324fca0e4213fb32ab9ab096289e035b272d2 GIT binary patch literal 426 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=DjSK$uZf!>a)($X?><>&pIsho6y0=3l8PBLf4Yxu=U`h{fsT1c{IZ*~hijg1#=u z5O|RCk2`t#^y$Shj~=bMfBxJ*du!|2il(Mh8ISSv@jW}3b*ts>`v1zGzi;0B|Ng<_ z-{r;S53~ONx9EhS#lJr%cNkgB5KSwdKU+F^ek@_t<>