anv: Remove the old emit macro
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 18 Apr 2016 23:53:11 +0000 (16:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Apr 2016 21:54:09 +0000 (14:54 -0700)
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
src/intel/vulkan/anv_private.h

index 63c207a357fb467718174a97b6058a338f9affce..df8df186009c76573ce7632fc50a79a7654e349e 100644 (file)
@@ -826,16 +826,6 @@ __gen_combine_address(struct anv_batch *batch, void *location,
       VG(VALGRIND_CHECK_MEM_IS_DEFINED(dst, __anv_cmd_length(struc) * 4)); \
    } while (0)
 
-#define anv_batch_emit(batch, cmd, ...) do {                               \
-      void *__dst = anv_batch_emit_dwords(batch, __anv_cmd_length(cmd));   \
-      struct cmd __template = {                                            \
-         __anv_cmd_header(cmd),                                            \
-         __VA_ARGS__                                                       \
-      };                                                                   \
-      __anv_cmd_pack(cmd)(batch, __dst, &__template);                      \
-      VG(VALGRIND_CHECK_MEM_IS_DEFINED(__dst, __anv_cmd_length(cmd) * 4)); \
-   } while (0)
-
 #define anv_batch_emitn(batch, n, cmd, ...) ({          \
       void *__dst = anv_batch_emit_dwords(batch, n);    \
       struct cmd __template = {                         \