diff options
author | Kenneth Graunke <[email protected]> | 2018-06-27 16:59:59 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | c0e80a8d0a782ce345fcd27f0c0333345eeb073f (patch) | |
tree | e6da9acd4c1df32c2928b688bcdcf7ead0ba8119 /src/gallium/drivers/iris/iris_context.h | |
parent | d358a4a04007bca8cedbb213800f4e398f8a34f7 (diff) |
iris: null surface for unbound textures
avoids crashes...may not be really right
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index b5489c7e46e..5e6b9e02280 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -269,6 +269,9 @@ struct iris_context { unsigned num_samplers[MESA_SHADER_STAGES]; unsigned num_textures[MESA_SHADER_STAGES]; + struct pipe_resource *unbound_tex_surface_state_resource; + unsigned unbound_tex_surface_state_offset; + 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!" |