Skip to content

Commit

Permalink
gpu: adjust timing
Browse files Browse the repository at this point in the history
seemed to be causing races, likely because we run the CPU too fast
#330
  • Loading branch information
notaz committed Dec 8, 2023
1 parent a3fcdfc commit 442afc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gpulib/gpu_timing.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// very conservative and wrong
#define gput_fill(w, h) (23 + (4 + (w) / 16u) * (h))
#define gput_fill(w, h) (23 + (4 + (w) / 32u) * (h))
#define gput_copy(w, h) ((w) * (h))
#define gput_poly_base() (23)
#define gput_poly_base_t() (gput_poly_base() + 90)
Expand Down

0 comments on commit 442afc3

Please sign in to comment.