Age | Commit message (Collapse) | Author |
|
New high-level flow-control instructions, both at IR level and GPU instructions
for looping and subroutines.
|
|
Fragment texcoords and varying code is now unified in the point/line/triangle
rasterization code. In the future, merge color, fog, etc. attribs.
|
|
|
|
|
|
|
|
|
|
|
|
fields. More to come.
|
|
|
|
|
|
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed
by FRAG_ATTRIB_* values.
Eliminates need to copy data into fragment program machine input registers.
Will lead to future clean-ups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return black (0,0,0,1) when sampled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prog_instruction.h
|
|
|
|
|
|
|
|
|
|
In brief:
Check for enabled fragment program by looking at ctx->FragmentProgram._Current.
New code for varying variables.
|
|
|
|
programs.
|
|
Haihao Xiang.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is enabled and we've changed any GL state that might be referenced by a
fragment program (such as state.fog.params). Do this during swrast
validation, not in _swrast_exec_fragment_program().
|
|
to sample texture[k]. Use zero otherwise. Not foolproof, but a good
compromise.
|