anv: Get rid of the stub() macros

Except for a few unimplemented things on gen7, we don't really have
stubs anymore so we should drop this.  This commit replaces the few gen7
stub() calls with explicitly labeled finishme's and makes the sparse
binding stuff silently no-op or return a FEATURE_NOT_PRESENT error.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand
2017-03-07 09:19:29 -08:00
parent 1488d079cb
commit a316d8f406
3 changed files with 5 additions and 17 deletions
+3 -3
View File
@@ -270,7 +270,7 @@ void genX(CmdSetEvent)(
VkEvent event,
VkPipelineStageFlags stageMask)
{
stub();
anv_finishme("Implement events on gen7");
}
void genX(CmdResetEvent)(
@@ -278,7 +278,7 @@ void genX(CmdResetEvent)(
VkEvent event,
VkPipelineStageFlags stageMask)
{
stub();
anv_finishme("Implement events on gen7");
}
void genX(CmdWaitEvents)(
@@ -294,7 +294,7 @@ void genX(CmdWaitEvents)(
uint32_t imageMemoryBarrierCount,
const VkImageMemoryBarrier* pImageMemoryBarriers)
{
stub();
anv_finishme("Implement events on gen7");
genX(CmdPipelineBarrier)(commandBuffer, srcStageMask, destStageMask,
false, /* byRegion */