- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i precompiled and saved all DX9 shaders into a BIN file which was loaded at runtime to avoid shader compiling .when i dragged the exe to GPA or Nsight i could only see the assembly which mad the debugging a little difficult.
Does any one know how to show hlsl in such debugging tools, should i compile the shader with some specific flag or function ??
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
GPA shows shader source automatically only when shaders are compiled at runtime.
But you may use "Replace File" button in shader tab and manually assign shaders.
Also there is "Settings" button in lower right corner of Shader Tab for setting Includes/Defines/Shader entry point.
Also do not forget to press "Apply" button when shader replacement is done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
so it is imposible to do this work automatically, i wonder how could GPA get the shader source code when the shaders are compiled at runtime, Does it hook the shader compiling function and store the code when the application pass therir hlsl code to D3D function as parameter? thanks~~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Answered by private message
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page