translated_vertex_program Struct Reference

State validation for vertex/fragment shaders. More...

Collaboration diagram for translated_vertex_program:

Collaboration graph
[legend]

Data Fields

struct st_vertex_programmaster
GLbitfield frag_inputs
 The fragment shader "signature" this vertex shader is meant for:.
GLuint serialNo
 Compared against master vertex program's serialNo:.
GLuint output_to_slot [VERT_RESULT_MAX]
 Maps VERT_RESULT_x to slot.
ubyte output_to_semantic_name [VERT_RESULT_MAX]
ubyte output_to_semantic_index [VERT_RESULT_MAX]
struct st_vertex_programvp
 Pointer to the translated vertex program.
struct translated_vertex_programnext
 next in linked list

Detailed Description

State validation for vertex/fragment shaders.

Note that we have to delay most vertex/fragment shader translation until rendering time since the linkage between the vertex outputs and fragment inputs can vary depending on the pairing of shaders.

Authors: Brian Paul This represents a vertex program, especially translated to match the inputs of a particular fragment shader.

Definition at line 63 of file st_atom_shader.c.


Field Documentation

struct st_vertex_program* translated_vertex_program::master [read]

Definition at line 65 of file st_atom_shader.c.

GLbitfield translated_vertex_program::frag_inputs

The fragment shader "signature" this vertex shader is meant for:.

Definition at line 68 of file st_atom_shader.c.

GLuint translated_vertex_program::serialNo

Compared against master vertex program's serialNo:.

Definition at line 71 of file st_atom_shader.c.

GLuint translated_vertex_program::output_to_slot[VERT_RESULT_MAX]

Maps VERT_RESULT_x to slot.

Definition at line 74 of file st_atom_shader.c.

ubyte translated_vertex_program::output_to_semantic_name[VERT_RESULT_MAX]

Definition at line 75 of file st_atom_shader.c.

ubyte translated_vertex_program::output_to_semantic_index[VERT_RESULT_MAX]

Definition at line 76 of file st_atom_shader.c.

struct st_vertex_program* translated_vertex_program::vp [read]

Pointer to the translated vertex program.

Definition at line 79 of file st_atom_shader.c.

struct translated_vertex_program* translated_vertex_program::next [read]

next in linked list

Definition at line 81 of file st_atom_shader.c.


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