[Mesa-dev] [PATCH 04/25] anv/cmd_buffer: Use the surface state alloc helper in null_surface_state

Jason Ekstrand jason at jlekstrand.net
Sat Oct 22 17:50:35 UTC 2016


---
 src/intel/vulkan/genX_cmd_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index ce53526..e9cfcc9 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -644,7 +644,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,
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list