bunnei
d8474a2fd3
Merge pull request #999 from lioncash/map
gl_rasterizer_cache: Avoid iterator invalidation issues within InvalidateRegion()
7 years ago
Lioncash
0280e22679
gl_rasterizer_cache: Avoid iterator invalidation issues within InvalidateRegion()
A range-based for loop can't be used when the container being iterated
is also being erased from.
7 years ago
bunnei
c984e79040
Merge pull request #992 from bunnei/declr-pred
gl_shader_decompiler: Declare predicates on use.
7 years ago
bunnei
346767d393
Merge pull request #994 from lioncash/const
gl_rasterizer_cache: Use std::vector::assign vs resize() then copy for the non-tiled case
7 years ago
bunnei
af45d92e4b
Merge pull request #993 from bunnei/smo-vtx-pts
Implement VertexAttribute::Size::Size_16_16_16_16 and PrimitiveTopology::Points.
7 years ago
bunnei
64fb5846e7
Merge pull request #984 from bunnei/rt-none
gl_rasterizer: Do not render when no render target is configured.
7 years ago
Khangaroo
b534e67f64
Implement BC5/DXN2 ( #996 )
- Used by Kirby Star Allies.
7 years ago
bunnei
c1fd5ddba8
Merge pull request #988 from lioncash/color
common/color: Minor cleanup
7 years ago
bunnei
67a17d36f0
Merge pull request #977 from bunnei/bgr565
gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM.
7 years ago
Lioncash
544265b613
gl_rasterizer_cache: Invert conditional in LoadGLBuffer()
It's generally easier to follow code using conditionals that operate in
terms of the true case followed by the false case (no chance of
overlooking the exclamation mark).
7 years ago
Lioncash
824e3ae7f8
gl_rasterizer_cache: Use std::vector::assign in LoadGLBuffer() for the non-tiled case
resize() causes the vector to expand and zero out the added members to
the vector, however we can avoid this zeroing by using assign().
Given we have the pointer to the data we want to copy, we can calculate
the end pointer and directly copy the range of data without the
need to perform the resize() beforehand.
7 years ago
bunnei
3983e0da89
Merge pull request #987 from lioncash/vec
vector_math: Use variable template version of is_signed in Vec classes
7 years ago
bunnei
b0b7437b9f
maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16.
- Used by Super Mario Odyssey (in game).
7 years ago
bunnei
29198d26ec
maxwell_to_gl: Implement PrimitiveTopology::Points.
- Used by Super Mario Odyssey (in game).
7 years ago
bunnei
13dec2d87b
gl_shader_decompiler: Declare predicates on use.
- Used by Super Mario Odyssey (when going in game).
7 years ago
Lioncash
4be471509c
gl_rasterizer_cache: Make pointer const in LoadGLBuffer()
This is only ever read from, so we can make the data it's pointing to
const.
7 years ago
bunnei
1e4e0b653a
Merge pull request #982 from bunnei/stub-unk-63
gl_shader_decompiler: Stub input attribute Unknown_63.
7 years ago
bunnei
2145a127bb
Merge pull request #986 from mailwl/acc-loadimage
Service/Account: stub LoadImage function
7 years ago
bunnei
6978915f4e
gl_rasterizer: Do not render when no render target is configured.
- Used by Super Mario Odyssey.
7 years ago
bunnei
e56c6add05
Merge pull request #976 from bunnei/shader-imm
gl_shader_decompiler: Let OpenGL interpret floats.
7 years ago
bunnei
98ac2fa5c3
Merge pull request #981 from bunnei/cbuf-corrupt
maxwell_3d: Use correct const buffer size and check bounds.
7 years ago
bunnei
ba10208eb2
Merge pull request #978 from bunnei/fixioctl
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
7 years ago
bunnei
28e3b98c6b
Merge pull request #985 from bunnei/rt-r11g11b10
gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.
7 years ago
bunnei
47a25d7cd7
Merge pull request #979 from bunnei/vtx88
maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.
7 years ago
bunnei
9e94b8f830
Merge pull request #975 from bunnei/am-stub
am: Stub SetScreenShotImageOrientation.
7 years ago
bunnei
123518a321
Merge pull request #980 from bunnei/fix-logs
renderer_opengl: Use trace log in a few places.
7 years ago
Lioncash
18cd5b3930
common/color: Remove unnecessary const qualifiers on return types
These are just superfluous and not necessesary
7 years ago
Lioncash
2fe76428c5
common/color: Get rid of undefined behavior
Gets rid of type punning via reinterpret_cast within functions. Instead,
we use memcpy to transfer the contents across types.
7 years ago
Lioncash
e3444cb2a6
vector_math: Use variable template version of is_signed in Vec classes
Same behavior, less code
7 years ago
bunnei
5ae5657421
Merge pull request #966 from lioncash/modernize
common: Convert type traits templates over to variable template versions where applicable
7 years ago
bunnei
0eeda98acf
Merge pull request #850 from DarkLordZach/icon-meta
Add Icons and Metadata Support
7 years ago
bunnei
a26923ef44
Merge pull request #968 from lioncash/vec
vector_math: Minor cleanups
7 years ago
bunnei
a550485317
Merge pull request #969 from lioncash/lz4
externals/CMakeLists: Add EXCLUDE_FROM_ALL to lz4's add_subdirectory() command
7 years ago
bunnei
e74d6dd0d1
Merge pull request #958 from lioncash/nv-global
nvdrv: Get rid of global std::weak_ptr
7 years ago
mailwl
89cc070fcf
Service/Account: stub LoadImage function
7 years ago
bunnei
2a28031596
Merge pull request #972 from lioncash/catch
externals: Update catch to 2.3.0
7 years ago
bunnei
fd89c5a7d4
Merge pull request #965 from lioncash/unused-files
hle: Remove unused romfs.cpp/.h
7 years ago
bunnei
3485776e57
Merge pull request #974 from lioncash/acc
acc: Add missing function table entries for GetUserCount
7 years ago
bunnei
1e66ac1103
gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.
- Used by Super Mario Odyssey.
7 years ago
Mat M
b58a12eddb
Merge pull request #983 from mailwl/hid-fix
hid: fix IsSixAxisSensorAtRest() response
7 years ago
mailwl
219c0dabe1
hid: fix IsSixAxisSensorAtRest() response
7 years ago
bunnei
37e2165d82
gl_shader_decompiler: Stub input attribute Unknown_63.
7 years ago
bunnei
89b9893d28
maxwell_3d: Use correct const buffer size and check bounds.
- Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX.
7 years ago
bunnei
a23331808d
renderer_opengl: Use trace log in a few places.
7 years ago
bunnei
be0642cb94
maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.
7 years ago
bunnei
e0f48e4daf
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
7 years ago
bunnei
5381a038ca
gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM.
- Used by Super Mario Odyssey.
7 years ago
bunnei
3ee2d948a2
gl_shader_decompiler: Let OpenGL interpret floats.
- Accuracy is lost in translation to string, e.g. with NaN.
- Needed for Super Mario Odyssey.
7 years ago
bunnei
5851753d2a
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
7 years ago
Lioncash
3266d0989f
acc: Add missing function table entries for GetUserCount
Given this is stubbed within the common module in
5ac7b84, it should be added to the other relevant tables as well.
7 years ago