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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user