Closed GoogleCodeExporter closed 9 years ago
I am not sure how important this feature is given that the validator is
expected to catch all errors in input shader. If all translated shaders are
successfully compiled preserving the line numbers may not be needed.
Original comment by alokp@chromium.org
on 27 Sep 2010 at 8:58
This would still be handy for source level debugging in a shader debugger
though. How hard would it be to put #line directives in the generated HLSL?
See http://msdn.microsoft.com/en-us/library/dd607350(VS.85).aspx
One day we will have about:shaderdebugger :)
Original comment by apatr...@chromium.org
on 27 Sep 2010 at 9:12
Alok: any idea if this is still a problem in the new preprocessor?
Original comment by dan...@transgaming.com
on 26 Oct 2012 at 7:38
This is not related to preprocessor actually. It needs to be handled during
translation.
Original comment by alokp@chromium.org
on 26 Oct 2012 at 7:41
Original comment by geofflang@chromium.org
on 10 Dec 2013 at 3:52
This got implemented by https://codereview.appspot.com/3945043. Al had some
additional ideas but we haven't had a strong need for them yet.
Closing this now. If more debugging conveniences are required they should be
tracked in a separate ticket.
Original comment by c...@chromium.org
on 21 May 2014 at 2:45
Original issue reported on code.google.com by
alokp@chromium.org
on 16 Jun 2010 at 6:50