gl_rasterizer: Implement quads topology
This commit is contained in:
parent
393042c09c
commit
3e2380327a
8 changed files with 236 additions and 46 deletions
|
@ -744,6 +744,12 @@ public:
|
|||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(end_addr_high) << 32) |
|
||||
end_addr_low);
|
||||
}
|
||||
|
||||
/// Adjust the index buffer offset so it points to the first desired index.
|
||||
GPUVAddr IndexStart() const {
|
||||
return StartAddress() + static_cast<size_t>(first) *
|
||||
static_cast<size_t>(FormatSizeInBytes());
|
||||
}
|
||||
} index_array;
|
||||
|
||||
INSERT_PADDING_WORDS(0x7);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue