摘要 |
<P>PROBLEM TO BE SOLVED: To improve operation of graphics processors including vertex shading stages, when vertex shading stages are operating in an instantiated mode. <P>SOLUTION: A graphics processor includes a vertex shader that processes input attribute values from a vertex buffer to generate output vertex shaded attribute values to be used by a rasterizer/fragment shader when processing an image. Vertex shader output attributes are identified for which the vertex shader input attributes that the vertex shader output attribute depends on are defined solely on a per-vertex basis or solely on a per-instance basis. Then, for such vertex shader output attributes, the vertex shader stores, for use by the rasterizer/fragment shader 22 of the graphics processor when processing an image, only one copy of the vertex shader output attribute for a given vertex or instance. <P>COPYRIGHT: (C)2012,JPO&INPIT |