Techniques for displaying a shader table associated with raytracing images
AssigneeMicrosoft Technology Licensing, LLC
InventorsAustin Neil KINROSS, Amar PATEL
Life of this patent
Estimating the term…
Abstract
Examples described herein generally relate to intercepting, from a graphics processing unit (GPU) or a graphics driver, a buffer that specifies one or more shader records of a shader table to use in generating the image using raytracing, determining, based at least in part on an identifier of the one or more shader records, a layout of the one or more shader records, interpreting, based at least in part on the layout, additional data in the buffer to determine one or more parameters corresponding to the one or more shader records, and displaying, via an application, an indication of the one or more parameters on an interface.
Claims20
A computer-implemented method for displaying shader table information used in raytracing an image, comprising:
- intercepting, from a graphics processing unit (GPU) or a graphics driver, a buffer that specifies shader table information including one or more shader records of shaders to use in generating the image using raytracing;
- determining, by a computing device and based at least in part on an identifier of the one or more shader records, a layout of parameters within the buffer for one or more shaders corresponding to the one or more shader records;
- interpreting, by the computing device and based at least in part on the layout of parameters, additional data in the buffer to determine one or more parameters corresponding to the one or more shader records;
- detecting at least one of an invalid memory location in the one or more parameters or, based on the layout, a null root signature associated with the one or more shader records;
- and
- displaying, via an application executing on the computing device, an indication of the one or more parameters on an interface and an indicator of at least one of the invalid memory location or the null root signature.
A computing device for displaying shader table information used in raytracing an image, comprising:
- a memory storing one or more parameters or instructions for executing an operating system and one or more applications including a diagnostic application;
- and
- at least one processor coupled to the memory, wherein the at least one processor is configured to:
- intercept, from a graphics processing unit (GPU) or a graphics driver, a buffer that specifies information including one or more shader records of shaders to use in generating the image using raytracing;
- determine, based at least in part on an identifier of the one or more shader records, a layout of parameters within the buffer for one or more shaders corresponding to the one or more shader records;
- interpret, based at least in part on the layout of parameters, additional data in the buffer to determine one or more parameters corresponding to the one or more shader records;
- and
- display, via the diagnostic application, an indication of the one or more parameters on an interface.
A non-transitory computer-readable medium, comprising code executable by one or more processors for displaying shader table information used in raytracing an image, the code comprising code for:
- intercepting, from a graphics processing unit (GPU) or a graphics driver, a buffer that specifies information including one or more shader records of shaders to use in generating the image using raytracing;
- determining, based at least in part on an identifier of the one or more shader records, a layout of parameters within the buffer for one or more shaders corresponding to the one or more shader records;
- interpreting, based at least in part on the layout of parameters, additional data in the buffer to determine one or more parameters corresponding to the one or more shader records;
- and
- displaying, via an application, an indication of the one or more parameters on an interface.
Dependencies are inferred from the claim text.