Added shader state; WIP kernel objects
This commit is contained in:
parent
45788b9c82
commit
f79c9668a3
33 changed files with 576 additions and 68 deletions
|
@ -161,8 +161,6 @@ struct State {
|
|||
UnionArray<LutEntry, 128> lut;
|
||||
} fog;
|
||||
|
||||
#undef SERIALIZE_RAW
|
||||
|
||||
/// Current Pica command list
|
||||
struct {
|
||||
PAddr addr; // This exists only for serialization
|
||||
|
@ -185,7 +183,7 @@ struct State {
|
|||
template<class Archive>
|
||||
void serialize(Archive & ar, const unsigned int file_version)
|
||||
{
|
||||
// ar & input_vertex;
|
||||
ar & input_vertex;
|
||||
ar & current_attribute;
|
||||
ar & reset_geometry_pipeline;
|
||||
}
|
||||
|
@ -220,7 +218,7 @@ private:
|
|||
ar & regs.reg_array;
|
||||
ar & vs;
|
||||
ar & gs;
|
||||
// ar & input_default_attributes;
|
||||
ar & input_default_attributes;
|
||||
ar & proctex;
|
||||
ar & lighting.luts;
|
||||
ar & fog.lut;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue