Fast variable validation for state management of a graphics pipeline
First Claim
1. In a state management system, a method comprising:
- generating at load time a specialized variable interface pointer associated with a variable comprised in a loaded compiled effects file by specifying a desired type of access that will be performed on the variable, where a generic variable interface pointer has been retrieved for the variable; and
using a specialized variable interface to set a value to the variable at application run-time without validating the variable at application run-time.
2 Assignments
0 Petitions
Accused Products
Abstract
In a state management system of an effects system implemented in a Graphics Processing Unit (GPU), techniques and technologies are provided for setting a value to particular variables at application run-time without validating the variables. For example, a compiled effects file comprising a number of variables can be loaded at application load time, and a generic, variable interface pointer for a particular variable of the effects file can be retrieved. A specialized variable interface pointer can then be generated which is associated with the particular variable by specifying a desired type of access that will be performed on the particular variable. At application run-time, the specialized variable interface can be used to set a value to each of the particular variables without validating the particular variables at application run-time.
-
Citations
20 Claims
-
1. In a state management system, a method comprising:
-
generating at load time a specialized variable interface pointer associated with a variable comprised in a loaded compiled effects file by specifying a desired type of access that will be performed on the variable, where a generic variable interface pointer has been retrieved for the variable; and using a specialized variable interface to set a value to the variable at application run-time without validating the variable at application run-time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A hardware computer storage memory, comprising an application programming interface (API) for instructing a graphics processing unit to:
-
generate at load time a specialized variable interface pointer associated with a variable comprised in a loaded compiled effects file by specifying a desired type of access that will be performed on the variable, where a generic variable interface pointer has been retrieved for the variable; and use a specialized variable interface to set a value to the variable at application run-time without validating the variable at application run-time. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method, implemented at least in part via a processing unit, comprising:
-
generating at load time a specialized variable interface pointer associated with a variable comprised in a loaded compiled effects file by specifying a desired type of access that will be performed on the variable, where a generic variable interface pointer has been retrieved for the variable; and using a specialized variable interface to set a value to the variable at application run-time without validating the variable at application run-time. - View Dependent Claims (20)
-
Specification