/** 3DSTATE_STREAMOUT and 3DSTATE_SO_DECL_LIST packets */
uint32_t *streamout;
+ /** The SURFACE_STATE for a 1x1x1 null surface. */
struct iris_state_ref unbound_tex;
+ /** The SURFACE_STATE for a framebuffer-sized null surface. */
struct iris_state_ref null_fb;
struct u_upload_mgr *surface_uploader;
if (stage == MESA_SHADER_FRAGMENT) {
struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer;
+ /* Note that cso_fb->nr_cbufs == fs_key->nr_color_regions. */
if (cso_fb->nr_cbufs) {
for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) {
if (cso_fb->cbufs[i])
else
bt_map[s++] = use_null_fb_surface(batch, ice);
}
- } else
+ } else {
bt_map[s++] = use_null_fb_surface(batch, ice);
+ }
}
//assert(prog_data->binding_table.texture_start ==