improve performance on intel graphics (#1041)

* improve performance on intel graphics

* more tweaks, add a glfinish button

* remove divide in fragment shader

* temp

* add cpu sky blend

* use vao

* change format

* use floats in direct renderer

* format

* format again

* tfrag ice
This commit is contained in:
water111
2021-12-30 19:38:18 -05:00
committed by GitHub
parent 3f84bd85e7
commit cd9e74819c
29 changed files with 659 additions and 445 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ void Deci2Server::run() {
auto& driver = d2_drivers[handler];
int sent_to_program = 0;
u32 sent_to_program = 0;
while (!want_exit() && (hdr->rsvd < hdr->len || sent_to_program < hdr->rsvd)) {
// send what we have to the program
if (sent_to_program < hdr->rsvd) {