diff options
author | Jason Ekstrand <[email protected]> | 2016-10-19 10:15:27 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-16 10:11:07 -0800 |
commit | 858b75563f5ec430fd61c95eccf6781ed9cd6c90 (patch) | |
tree | bce354516c11437af22f37d49f3c40bc7333e9b9 /src/intel/vulkan | |
parent | 3d9747780bc2508f4474230a0998d9dba7b02d1e (diff) |
anv/cmd_buffer: Use the surface state alloc helper in null_surface_state
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 25dc2567226..93beb4776ee 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -633,7 +633,7 @@ alloc_null_surface_state(struct anv_cmd_buffer *cmd_buffer, struct anv_framebuffer *fb) { struct anv_state state = - anv_state_stream_alloc(&cmd_buffer->surface_state_stream, 64, 64); + anv_cmd_buffer_alloc_surface_state(cmd_buffer); struct GENX(RENDER_SURFACE_STATE) null_ss = { .SurfaceType = SURFTYPE_NULL, |