tests: Get rid of the unused SHADER_BYTECODE macro.

This commit is contained in:
Henri Verbeet 2017-08-22 17:21:22 +02:00
parent b4d6aa0dbd
commit 882d54dacb

View File

@ -201,12 +201,6 @@ static D3D12_SHADER_BYTECODE shader_bytecode(const DWORD *code, size_t size)
return shader_bytecode;
}
#if _WIN32
# define SHADER_BYTECODE(dxbc, spirv) ((void)spirv, shader_bytecode(dxbc, sizeof(dxbc)))
#else
# define SHADER_BYTECODE(dxbc, spirv) ((void)dxbc, shader_bytecode(spirv, sizeof(spirv)))
#endif
static void transition_sub_resource_state(ID3D12GraphicsCommandList *list, ID3D12Resource *resource,
unsigned int sub_resource_idx, D3D12_RESOURCE_STATES state_before, D3D12_RESOURCE_STATES state_after)
{