Download PVRTrace User Manual - Imagination Technologies
Transcript
Imagination Technologies Public (b) (a) Figure 34. Inspecting a shader 3.10.2. Shader Modification When analysing a trace, it may be required to modify a shader program in order to test new behaviour in image output and performance. To modify a shader, perform the following: 1. 2. 3. Repeat the procedure for shader inspection (see Section 3.10.1). Make modifications to the shader program. If the program compiles successfully, the Apply button (Figure 34a) will become active to allow saving changes made to the shader. Save changes by clicking the Apply button. For tracking purposes, the modified shader program is displayed in the Modifications window (Figure 35). Note: Shader modification can be removed by unchecking the modified shader and clicking on Apply Changes from the Modifications window (Figure 35). Alternatively, use the Reset button in the Source tab of the Object Data Viewer window (Figure 34b). Figure 35. Viewing modified shaders in the Modifications window Revision PowerVR SDK REL_3.5@3523383a 40 User Manual