Multi-step texture processing with feedback in texture unit
AssigneeQUALCOMM Incorporated
InventorsUsame Ceylan, Vineet Goel, Juraj Obert, Liang Li
Life of this patent
Estimating the term…
Abstract
Techniques are described for using a texture unit to perform operations of a shader processor. Some operations of a shader processor are repeatedly executed until a condition is satisfied, and in each execution iteration, the shader processor accesses the texture unit. Techniques are described for the texture unit to perform such operations until the condition is satisfied.
Claims23
A method of processing data, the method comprising:
- receiving, by a texture unit of a graphics processing unit (GPU) and from a shader processor of the GPU, an instruction comprising a condition;
- executing, by the texture unit and in response to receiving the instruction, operations comprising:
- reading a first texel value based on the instruction;
- determining to read a second texel value based on the first texel value and the condition, wherein the determining is without further input from the shader processor;
- outputting a feedback signal to an input of the texture unit based on the determination to read the second texel value;
- and
- reading the second texel value in response to the feedback signal;
- and
- outputting, by the texture unit, data resulting from the execution of the operations.
A device for processing data, the device comprising:
- a graphics processing unit (GPU) comprising a shader processor;
- and
- a texture unit configured to:
- receive, from the shader processor, an instruction comprising a condition;
- execute, in response to receiving the instruction, operations, wherein execution of the operations cause the texture unit to:
- read a first texel value based on the instruction;
- determine to read a second texel value based on the first texel value and the condition, wherein the texture unit is configured to determine to read the second texel value without further input from the shader processor;
- output a feedback signal to an input of the texture unit based on the determination to read the second texel value;
- and
- read the second texel value in response to the feedback signal;
- and
- output data resulting from the execution of the operations.
A non-transitory computer-readable storage medium storing instructions that when executed cause one or more processors of a device for processing data to:
- receive, from a shader processor of a graphics processing unit (GPU), an instruction comprising a condition;
- execute, by a texture unit and in response to receiving the instruction, operations, wherein execution of the operations cause the one or more processors to:
- read a first texel value based on the instruction;
- determine to read a second texel value based on the first texel value and the condition, wherein the instructions that cause the one or more processors to determine to read the second texel cause the one or more processors to determine to read the second texel without further input from the shader processor;
- output a feedback signal to an input of the texture unit based on the determination to read the second texel value;
- and
- read the second texel value in response to the feedback signal;
- and
- output data resulting from the execution of the operations.
Dependencies are inferred from the claim text.