iris: fix some hangs around null framebuffers

This fixes some cases in fbo-none* and framebuffer_no_attachments.

I'm not sure this is correct otherwise, the tests don't all pass yet

No idea if this is in any way the correct answer
This commit is contained in:
Dave Airlie
2018-07-31 10:33:35 +10:00
committed by Kenneth Graunke
parent 02b82fe80a
commit 9d39e69219
2 changed files with 27 additions and 3 deletions

View File

@@ -316,6 +316,8 @@ struct iris_context {
struct iris_state_ref unbound_tex;
struct iris_state_ref null_fb;
struct u_upload_mgr *surface_uploader;
// XXX: may want a separate uploader for "hey I made a CSO!" vs
// "I'm streaming this out at draw time and never want it again!"