i915_fragment_shader Struct Reference

Subclass of pipe_shader_state. More...

Collaboration diagram for i915_fragment_shader:

Collaboration graph
[legend]

Data Fields

struct pipe_shader_state state
struct tgsi_shader_info info
uintprogram
uint program_len
uint num_constants
 constants introduced during translation.
float constants [32][4]
ubyte constant_flags [32]
 Status of each constant if I915_CONSTFLAG_PARAM, the value must be taken from the corresponding slot of the user's constant buffer.

Detailed Description

Subclass of pipe_shader_state.

Definition at line 91 of file i915_context.h.


Field Documentation

struct pipe_shader_state i915_fragment_shader::state [read]

Definition at line 93 of file i915_context.h.

struct tgsi_shader_info i915_fragment_shader::info [read]

Definition at line 95 of file i915_context.h.

uint* i915_fragment_shader::program

Definition at line 97 of file i915_context.h.

uint i915_fragment_shader::program_len

Definition at line 98 of file i915_context.h.

uint i915_fragment_shader::num_constants

constants introduced during translation.

These are placed at the end of the constant buffer and grow toward the beginning (eg: slot 31, 30 29, ...) User-provided constants start at 0. This allows both types of constants to co-exist (until there's too many) and doesn't require regenerating/changing the fragment program to shuffle constants around.

Definition at line 109 of file i915_context.h.

float i915_fragment_shader::constants[32][4]

Definition at line 110 of file i915_context.h.

ubyte i915_fragment_shader::constant_flags[32]

Status of each constant if I915_CONSTFLAG_PARAM, the value must be taken from the corresponding slot of the user's constant buffer.

(set by pipe->set_constant_buffer()) Else, the bitmask indicates which components are occupied by immediates.

Definition at line 118 of file i915_context.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:01 2009 for Gallium3D by  doxygen 1.5.4