摘要:
Automatic partitioning techniques for multi-phase pixel shading are described. In an example embodiment, an apparatus may comprise logic, at least a portion of which is in hardware, the logic to determine one or more respective suitability metrics for each of one or more candidate partitioning policies for a set of pixel shader inputs for a graphics frame, each candidate partitioning policy comprising one or more rules for partitioning the set of pixel shader inputs for multi-phase pixel shading based on quality sensitivity values for the pixel shader inputs, select a partitioning policy for the set of pixel shader inputs from among the one or more candidate partitioning policies based on the determined suitability metrics, and construct a multi-phase pixel shader for the graphics frame by partitioning the set of pixel shader inputs into multiple classes according to the selected partitioning policy. Other embodiments are described and claimed.
摘要:
Dynamic CPU GPU load balancing is described based on power. In one example, an instruction is received and power values are received for a central processing core (CPU) and a graphics processing core (GPU). The CPU or the GPU is selected based on the received power values and the instruction is sent to the selected core for processing.
摘要:
A texture sampler is implemented using a shader language. The shader compiler is used to compile the texture sampler to a target machine based on sampler state, sampler operation, and other static factors input values provided to the texture sampler. The shaders such as a vertex shader, geometry shader, pixel shader, hull shader, domain shader, and a compute shader may call one or more texture samplers while the shaders are invoked. The one or more texture samplers, which are a piece of software code may generate texture samples from the texture data and provide such texture samples to the shaders. The shaders generate shading effects on graphics elements using a texture samples. The graphics elements along with the shading effects are then rendered on a display device.
摘要:
Methods and systems to sample a subset of primitives from a batch of primitives for cull/no-cull decisions, and to selectively perform a batch-cull operation on the batch of primitives in response to cull/no-cull decisions of the samples. Cull/no-cull decisions may be determined in response to one or more of a sign and magnitude of a z-component of a surface normal to corresponding primitives, using one or more primitive-independent, vertex-based cull codes, which may include a cull code based on 2-dimensional pixel space positions corresponding to the primitives. 2-dimensional pixel space positions may be pre-computed for vertices associated with a batch of primitives in advance of sampling culling.
摘要:
Methods and systems to sample a subset of primitives from a batch of primitives for cull/no-cull decisions, and to selectively perform a batch-cull operation on the batch of primitives in response to cull/no-cull decisions of the samples. Cull/no-cull decisions may be determined in response to one or more of a sign and magnitude of a z-component of a surface normal to corresponding primitives, using one or more primitive-independent, vertex-based cull codes, which may include a cull code based on 2-dimensional pixel space positions corresponding to the primitives. 2-dimensional pixel space positions may be pre-computed for vertices associated with a batch of primitives in advance of sampling culling.
摘要:
A texture sampler is implemented using a shader language. The shader compiler is used to compile the texture sampler to a target machine based on sampler state, sampler operation, and other static factors input values provided to the texture sampler. The shaders such as a vertex shader, geometry shader, pixel shader, hull shader, domain shader, and a compute shader may call one or more texture samplers while the shaders are invoked. The one or more texture samplers, which are a piece of software code may generate texture samples from the texture data and provide such texture samples to the shaders. The shaders generate shading effects on graphics elements using a texture samples. The graphics elements along with the shading effects are then rendered on a display device.