summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h')
-rw-r--r--lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h b/lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h
index c14dd1c04..b382c5b72 100644
--- a/lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h
+++ b/lib/mesa/src/gallium/state_trackers/nine/nine_helpers.h
@@ -86,33 +86,6 @@ static inline void _nine_bind(void **dst, void *obj)
__params.dtor = (void *)Nine##nine##_dtor; \
__params.container = NULL; \
__params.device = dev; \
- __params.start_with_bind_not_ref = false; \
- { \
- HRESULT __hr = Nine##nine##_ctor(__data, &__params, ## __VA_ARGS__); \
- if (FAILED(__hr)) { \
- Nine##nine##_dtor(__data); \
- return __hr; \
- } \
- } \
- \
- *(out) = __data; \
- } \
- return D3D_OK
-
-#define NINE_DEVICE_CHILD_BIND_NEW(nine, out, dev, ...) \
- { \
- struct NineUnknownParams __params; \
- struct Nine##nine *__data; \
- \
- __data = CALLOC_STRUCT(Nine##nine); \
- if (!__data) { return E_OUTOFMEMORY; } \
- \
- __params.vtable = ((dev)->params.BehaviorFlags & D3DCREATE_MULTITHREADED) ? &Lock##nine##_vtable : &Nine##nine##_vtable; \
- __params.guids = Nine##nine##_IIDs; \
- __params.dtor = (void *)Nine##nine##_dtor; \
- __params.container = NULL; \
- __params.device = dev; \
- __params.start_with_bind_not_ref = true; \
{ \
HRESULT __hr = Nine##nine##_ctor(__data, &__params, ## __VA_ARGS__); \
if (FAILED(__hr)) { \
@@ -138,7 +111,6 @@ static inline void _nine_bind(void **dst, void *obj)
__params.dtor = (void *)Nine##nine##_dtor; \
__params.container = NULL; \
__params.device = NULL; \
- __params.start_with_bind_not_ref = false; \
{ \
HRESULT __hr = Nine##nine##_ctor(__data, &__params, ## __VA_ARGS__); \
if (FAILED(__hr)) { \