API communications for vertex and pixel shaders
First Claim
1. A method, comprising:
- providing a hardware rendering device having on-chip register storage;
communicating at least one instruction from a host computing system to said hardware rendering device, wherein said host computing system has a main memory and having stored thereon a 3-D API, and wherein said at least one instruction has at least one graphics data argument formatted for the register storage of said hardware rendering device;
receiving at least one instruction with said hardware rendering device;
processing with the hardware rendering device processes said at least one graphics data argument incident to the performance of said at least one instruction without accessing the main memory of the host computing system and said hardware rendering device outputs the result of the processing, wherein said at least one instruction is an instruction with at least one floating point number argument and said hardware rendering device outputs the fractional portion of said at least one floating point number; and
outputting with said hardware rendering device four fractional portions of corresponding four floating point number arguments.
1 Assignment
0 Petitions
Accused Products
Abstract
A three-dimensional API for communicating with hardware implementations of vertex shaders and pixel shaders having local registers. With respect to vertex shaders, API communications are provided that may make use of an on-chip register index and API communications are also provided for a specialized function, implemented on-chip at a register level, that outputs the fractional portion(s) of input(s). With respect to pixel shaders, API communications are provided for a specialized function, implemented on-chip at a register level, that performs a linear interpolation function and API communications are provided for specialized modifiers, also implemented on-chip at a register level, that perform modification functions including negating, complementing, remapping, stick biasing, scaling and saturating. Advantageously, these API communications expose these very useful on-chip graphical algorithmic elements to a developer while hiding the details of the operation of the vertex shader and pixel shader chips from the developer.
-
Citations
20 Claims
-
1. A method, comprising:
-
providing a hardware rendering device having on-chip register storage; communicating at least one instruction from a host computing system to said hardware rendering device, wherein said host computing system has a main memory and having stored thereon a 3-D API, and wherein said at least one instruction has at least one graphics data argument formatted for the register storage of said hardware rendering device; receiving at least one instruction with said hardware rendering device; processing with the hardware rendering device processes said at least one graphics data argument incident to the performance of said at least one instruction without accessing the main memory of the host computing system and said hardware rendering device outputs the result of the processing, wherein said at least one instruction is an instruction with at least one floating point number argument and said hardware rendering device outputs the fractional portion of said at least one floating point number; and outputting with said hardware rendering device four fractional portions of corresponding four floating point number arguments. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable medium having computer-executable instructions, wherein the computer-executable instructions perform:
-
providing a hardware rendering device having on-chip register storage; communicating at least one instruction from a host computing system to said hardware rendering device, wherein said host computing system has a main memory and having stored thereon a 3-D API, and wherein said at least one instruction has at least one graphics data argument formatted for the register storage of said hardware rendering device; receiving at least one instruction with said hardware rendering device; processing with the hardware rendering device processes said at least one graphics data argument incident to the performance of said at least one instruction without accessing the main memory of the host computing system and said hardware rendering device outputs the result of the processing, wherein said at least one instruction is an instruction with at least one floating point number argument and said hardware rendering device outputs the fractional portion of said at least one floating point number; and outputting with said hardware rendering device four fractional portions of corresponding four floating point number arguments. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification