-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux and GCC support #3
Open
Zakhrov
wants to merge
46
commits into
GPUOpen-LibrariesAndSDKs:master
Choose a base branch
from
Zakhrov:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
416fb19
Fixes for Linux build success
Zakhrov de2f755
more fixes
Zakhrov 7ef67e5
Update README with Linux build instructions
Zakhrov caf5ac3
fix DirectXMath under MSVC
Mixaill c8ce6aa
fix compilation under MSVC
Mixaill 4d4b149
other: add .gitignore
Mixaill 9b4efed
replace MSVC `_countof()` macro with std::size()
Mixaill 1be7d5f
libs: add dxgiformat.h header for non-windows platforms
Mixaill 00099ed
Added submodule libs/DirectXMath
Mixaill 61e3bc2
fix DirectXMath includes
Mixaill ef568c6
replace NULL with nullptr
Mixaill cdf63ff
disable windows-specific things
Mixaill f7f2f49
fix includes and data types
Mixaill a70eba6
update nlohmann-json
Mixaill ffea323
fix compilation
Mixaill bc3e486
src/common: fix build script (disable -M flag)
Mixaill 06f2a5b
fix Framework_Common compilation under Linux
Mixaill 2157e26
libs/DirectXMath: improved GCC support
Mixaill 12b4504
Merge branch 'linux-fixes' of https://github.com/Mixaill/Cauldron
Zakhrov a68358d
remove DirectXMath
Zakhrov 01d3ada
Linux fixes
Zakhrov c0f8000
Fixes for Linux build success
Zakhrov b076ed2
more fixes
Zakhrov f63e6c5
Update README with Linux build instructions
Zakhrov f176a93
other: add .gitignore
Mixaill becc102
replace MSVC `_countof()` macro with std::size()
Mixaill 4ff4551
libs: add dxgiformat.h header for non-windows platforms
Mixaill c49f0bb
Added submodule libs/DirectXMath
Mixaill acd1960
fix DirectXMath includes
Mixaill 5bbdd57
replace NULL with nullptr
Mixaill 905ff61
disable windows-specific things
Mixaill 3e88791
fix includes and data types
Mixaill 6343a09
update nlohmann-json
Mixaill 6406121
fix compilation
Mixaill 59a3de2
src/common: fix build script (disable -M flag)
Mixaill 6d47a8e
fix DirectXMath under MSVC
Mixaill 73d1484
fix compilation under MSVC
Mixaill 161ad59
fix Framework_Common compilation under Linux
Mixaill c0ea032
libs/DirectXMath: improved GCC support
Mixaill a89e412
remove DirectXMath
Zakhrov e99aef2
Linux fixes
Zakhrov afe1005
Add build to gitignore"
Zakhrov 54d27ae
Merge branch 'master' of https://github.com/Zakhrov/Cauldron
Zakhrov 7914446
Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/…
Zakhrov 356b474
Merge branch 'GPUOpen-LibrariesAndSDKs-master'
Zakhrov 6c50024
Fix 1.4.1 build errors on Linux.
Zakhrov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "libs/DirextXMath"] | ||
path = libs/DirextXMath | ||
url = https://github.com/Mixaill/DirectXMath.git | ||
branch = gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_library(DirectXMath INTERFACE) | ||
target_include_directories(DirectXMath INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/DirectXMath/Inc/") |
Submodule DirextXMath
added at
5dd775
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
add_library(DxgiFormat INTERFACE) | ||
|
||
if(NOT WIN32) | ||
target_include_directories(DxgiFormat INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/dxgiformat") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
#pragma once | ||
|
||
enum DXGI_FORMAT { | ||
DXGI_FORMAT_UNKNOWN, | ||
DXGI_FORMAT_R32G32B32A32_TYPELESS, | ||
DXGI_FORMAT_R32G32B32A32_FLOAT, | ||
DXGI_FORMAT_R32G32B32A32_UINT, | ||
DXGI_FORMAT_R32G32B32A32_SINT, | ||
DXGI_FORMAT_R32G32B32_TYPELESS, | ||
DXGI_FORMAT_R32G32B32_FLOAT, | ||
DXGI_FORMAT_R32G32B32_UINT, | ||
DXGI_FORMAT_R32G32B32_SINT, | ||
DXGI_FORMAT_R16G16B16A16_TYPELESS, | ||
DXGI_FORMAT_R16G16B16A16_FLOAT, | ||
DXGI_FORMAT_R16G16B16A16_UNORM, | ||
DXGI_FORMAT_R16G16B16A16_UINT, | ||
DXGI_FORMAT_R16G16B16A16_SNORM, | ||
DXGI_FORMAT_R16G16B16A16_SINT, | ||
DXGI_FORMAT_R32G32_TYPELESS, | ||
DXGI_FORMAT_R32G32_FLOAT, | ||
DXGI_FORMAT_R32G32_UINT, | ||
DXGI_FORMAT_R32G32_SINT, | ||
DXGI_FORMAT_R32G8X24_TYPELESS, | ||
DXGI_FORMAT_D32_FLOAT_S8X24_UINT, | ||
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS, | ||
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT, | ||
DXGI_FORMAT_R10G10B10A2_TYPELESS, | ||
DXGI_FORMAT_R10G10B10A2_UNORM, | ||
DXGI_FORMAT_R10G10B10A2_UINT, | ||
DXGI_FORMAT_R11G11B10_FLOAT, | ||
DXGI_FORMAT_R8G8B8A8_TYPELESS, | ||
DXGI_FORMAT_R8G8B8A8_UNORM, | ||
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, | ||
DXGI_FORMAT_R8G8B8A8_UINT, | ||
DXGI_FORMAT_R8G8B8A8_SNORM, | ||
DXGI_FORMAT_R8G8B8A8_SINT, | ||
DXGI_FORMAT_R16G16_TYPELESS, | ||
DXGI_FORMAT_R16G16_FLOAT, | ||
DXGI_FORMAT_R16G16_UNORM, | ||
DXGI_FORMAT_R16G16_UINT, | ||
DXGI_FORMAT_R16G16_SNORM, | ||
DXGI_FORMAT_R16G16_SINT, | ||
DXGI_FORMAT_R32_TYPELESS, | ||
DXGI_FORMAT_D32_FLOAT, | ||
DXGI_FORMAT_R32_FLOAT, | ||
DXGI_FORMAT_R32_UINT, | ||
DXGI_FORMAT_R32_SINT, | ||
DXGI_FORMAT_R24G8_TYPELESS, | ||
DXGI_FORMAT_D24_UNORM_S8_UINT, | ||
DXGI_FORMAT_R24_UNORM_X8_TYPELESS, | ||
DXGI_FORMAT_X24_TYPELESS_G8_UINT, | ||
DXGI_FORMAT_R8G8_TYPELESS, | ||
DXGI_FORMAT_R8G8_UNORM, | ||
DXGI_FORMAT_R8G8_UINT, | ||
DXGI_FORMAT_R8G8_SNORM, | ||
DXGI_FORMAT_R8G8_SINT, | ||
DXGI_FORMAT_R16_TYPELESS, | ||
DXGI_FORMAT_R16_FLOAT, | ||
DXGI_FORMAT_D16_UNORM, | ||
DXGI_FORMAT_R16_UNORM, | ||
DXGI_FORMAT_R16_UINT, | ||
DXGI_FORMAT_R16_SNORM, | ||
DXGI_FORMAT_R16_SINT, | ||
DXGI_FORMAT_R8_TYPELESS, | ||
DXGI_FORMAT_R8_UNORM, | ||
DXGI_FORMAT_R8_UINT, | ||
DXGI_FORMAT_R8_SNORM, | ||
DXGI_FORMAT_R8_SINT, | ||
DXGI_FORMAT_A8_UNORM, | ||
DXGI_FORMAT_R1_UNORM, | ||
DXGI_FORMAT_R9G9B9E5_SHAREDEXP, | ||
DXGI_FORMAT_R8G8_B8G8_UNORM, | ||
DXGI_FORMAT_G8R8_G8B8_UNORM, | ||
DXGI_FORMAT_BC1_TYPELESS, | ||
DXGI_FORMAT_BC1_UNORM, | ||
DXGI_FORMAT_BC1_UNORM_SRGB, | ||
DXGI_FORMAT_BC2_TYPELESS, | ||
DXGI_FORMAT_BC2_UNORM, | ||
DXGI_FORMAT_BC2_UNORM_SRGB, | ||
DXGI_FORMAT_BC3_TYPELESS, | ||
DXGI_FORMAT_BC3_UNORM, | ||
DXGI_FORMAT_BC3_UNORM_SRGB, | ||
DXGI_FORMAT_BC4_TYPELESS, | ||
DXGI_FORMAT_BC4_UNORM, | ||
DXGI_FORMAT_BC4_SNORM, | ||
DXGI_FORMAT_BC5_TYPELESS, | ||
DXGI_FORMAT_BC5_UNORM, | ||
DXGI_FORMAT_BC5_SNORM, | ||
DXGI_FORMAT_B5G6R5_UNORM, | ||
DXGI_FORMAT_B5G5R5A1_UNORM, | ||
DXGI_FORMAT_B8G8R8A8_UNORM, | ||
DXGI_FORMAT_B8G8R8X8_UNORM, | ||
DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM, | ||
DXGI_FORMAT_B8G8R8A8_TYPELESS, | ||
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, | ||
DXGI_FORMAT_B8G8R8X8_TYPELESS, | ||
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB, | ||
DXGI_FORMAT_BC6H_TYPELESS, | ||
DXGI_FORMAT_BC6H_UF16, | ||
DXGI_FORMAT_BC6H_SF16, | ||
DXGI_FORMAT_BC7_TYPELESS, | ||
DXGI_FORMAT_BC7_UNORM, | ||
DXGI_FORMAT_BC7_UNORM_SRGB, | ||
DXGI_FORMAT_AYUV, | ||
DXGI_FORMAT_Y410, | ||
DXGI_FORMAT_Y416, | ||
DXGI_FORMAT_NV12, | ||
DXGI_FORMAT_P010, | ||
DXGI_FORMAT_P016, | ||
DXGI_FORMAT_420_OPAQUE, | ||
DXGI_FORMAT_YUY2, | ||
DXGI_FORMAT_Y210, | ||
DXGI_FORMAT_Y216, | ||
DXGI_FORMAT_NV11, | ||
DXGI_FORMAT_AI44, | ||
DXGI_FORMAT_IA44, | ||
DXGI_FORMAT_P8, | ||
DXGI_FORMAT_A8P8, | ||
DXGI_FORMAT_B4G4R4A4_UNORM, | ||
DXGI_FORMAT_P208, | ||
DXGI_FORMAT_V208, | ||
DXGI_FORMAT_V408, | ||
DXGI_FORMAT_FORCE_UINT | ||
} ; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this hide all compile error