texture unit dcache arbitration

This commit is contained in:
Blaise Tine
2021-03-18 14:23:53 -04:00
parent 6febdf7399
commit 124acfbf12
14 changed files with 606 additions and 115 deletions

View File

@@ -22,8 +22,8 @@ void kernel_body(int task_id, void* arg) {
for (uint32_t y = 0; y < _arg->tile_height; ++y) {
for (uint32_t x = 0; x < _arg->tile_width; ++x) {
int32_t u = (int32_t)(fu * (1<<28));
int32_t v = (int32_t)(fv * (1<<28));
int32_t u = (int32_t)(fu * (1<<20));
int32_t v = (int32_t)(fv * (1<<20));
dst_ptr[x] = vx_tex(0, u, v, 0);
fu += _arg->deltaX;
}