Data Fields | |
struct pipe_shader_state | state |
struct tgsi_shader_info | info |
uint * | program |
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. |
Definition at line 91 of file i915_context.h.
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.
Definition at line 97 of file i915_context.h.
Definition at line 98 of file i915_context.h.
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.
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.