vk: Set binding table layout for CS
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 13 Jun 2015 00:17:43 +0000 (17:17 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 13 Jun 2015 01:21:49 +0000 (18:21 -0700)
We weren't setting the binding table layout for the backend compiler.

src/vulkan/compiler.cpp

index 2a193e3..5f5dacb 100644 (file)
@@ -621,6 +621,7 @@ brw_codegen_cs_prog(struct brw_context *brw,
 
    memset(prog_data, 0, sizeof(*prog_data));
 
+   set_binding_table_layout(&prog_data->base, pipeline, VK_SHADER_STAGE_COMPUTE);
 
    /* Allocate the references to the uniforms that will end up in the
     * prog_data associated with the compiled program, and which will be freed