return VK_SUCCESS;
}
-
-VkResult anv_CreateBufferView(
- VkDevice _device,
- const VkBufferViewCreateInfo* pCreateInfo,
- VkBufferView* pView)
-{
- return driver_layer->CreateBufferView(_device, pCreateInfo, pView);
-}
-
VkResult anv_DestroyBufferView(
VkDevice _device,
VkBufferView _bview)
return VK_SUCCESS;
}
-VkResult anv_CreateSampler(
- VkDevice _device,
- const VkSamplerCreateInfo* pCreateInfo,
- VkSampler* pSampler)
-{
- return driver_layer->CreateSampler(_device, pCreateInfo, pSampler);
-}
-
VkResult anv_DestroySampler(
VkDevice _device,
VkSampler _sampler)
return VK_SUCCESS;
}
-VkResult anv_CreateDynamicRasterState(
- VkDevice _device,
- const VkDynamicRasterStateCreateInfo* pCreateInfo,
- VkDynamicRasterState* pState)
-{
- return driver_layer->CreateDynamicRasterState(_device, pCreateInfo, pState);
-}
-
VkResult anv_DestroyDynamicRasterState(
VkDevice _device,
VkDynamicRasterState _rs_state)
return VK_SUCCESS;
}
-VkResult anv_CreateDynamicDepthStencilState(
- VkDevice _device,
- const VkDynamicDepthStencilStateCreateInfo* pCreateInfo,
- VkDynamicDepthStencilState* pState)
-{
- return driver_layer->CreateDynamicDepthStencilState(_device, pCreateInfo, pState);
-}
-
VkResult anv_DestroyDynamicDepthStencilState(
VkDevice _device,
VkDynamicDepthStencilState _ds_state)
anv_CmdBindDynamicColorBlendState(anv_cmd_buffer_to_handle(cmd_buffer),
device->meta_state.shared.cb_state);
- driver_layer->CmdDraw(anv_cmd_buffer_to_handle(cmd_buffer), 0, 3, 0, num_instances);
+ vkCmdDraw(anv_cmd_buffer_to_handle(cmd_buffer), 0, 3, 0, num_instances);
}
void
.dependencyCount = 0,
}, &pass);
- driver_layer->CmdBeginRenderPass(anv_cmd_buffer_to_handle(cmd_buffer),
+ vkCmdBeginRenderPass(anv_cmd_buffer_to_handle(cmd_buffer),
&(VkRenderPassBeginInfo) {
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.renderPass = pass,
device->meta_state.blit.pipeline_layout, 0, 1,
&set, 0, NULL);
- driver_layer->CmdDraw(anv_cmd_buffer_to_handle(cmd_buffer), 0, 3, 0, 1);
+ vkCmdDraw(anv_cmd_buffer_to_handle(cmd_buffer), 0, 3, 0, 1);
- driver_layer->CmdEndRenderPass(anv_cmd_buffer_to_handle(cmd_buffer));
+ vkCmdEndRenderPass(anv_cmd_buffer_to_handle(cmd_buffer));
/* At the point where we emit the draw call, all data from the
* descriptor sets, etc. has been used. We are free to delete it.
.dependencyCount = 0,
}, &pass);
- driver_layer->CmdBeginRenderPass(anv_cmd_buffer_to_handle(cmd_buffer),
+ vkCmdBeginRenderPass(anv_cmd_buffer_to_handle(cmd_buffer),
&(VkRenderPassBeginInfo) {
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.renderArea = {
meta_emit_clear(cmd_buffer, 1, &instance_data,
(VkClearDepthStencilValue) {0});
- driver_layer->CmdEndRenderPass(anv_cmd_buffer_to_handle(cmd_buffer));
+ vkCmdEndRenderPass(anv_cmd_buffer_to_handle(cmd_buffer));
}
}
}
anv_device_init_meta_clear_state(device);
anv_device_init_meta_blit_state(device);
- anv_CreateDynamicRasterState(anv_device_to_handle(device),
+ vkCreateDynamicRasterState(anv_device_to_handle(device),
&(VkDynamicRasterStateCreateInfo) {
.sType = VK_STRUCTURE_TYPE_DYNAMIC_RASTER_STATE_CREATE_INFO,
},
&device->meta_state.shared.rs_state);
- anv_CreateDynamicColorBlendState(anv_device_to_handle(device),
+ vkCreateDynamicColorBlendState(anv_device_to_handle(device),
&(VkDynamicColorBlendStateCreateInfo) {
.sType = VK_STRUCTURE_TYPE_DYNAMIC_COLOR_BLEND_STATE_CREATE_INFO
},
&device->meta_state.shared.cb_state);
- anv_CreateDynamicDepthStencilState(anv_device_to_handle(device),
+ vkCreateDynamicDepthStencilState(anv_device_to_handle(device),
&(VkDynamicDepthStencilStateCreateInfo) {
.sType = VK_STRUCTURE_TYPE_DYNAMIC_DEPTH_STENCIL_STATE_CREATE_INFO
},