Subv
b994374b5c
GPU: Allow using R16F as a render target format.
8 years ago
Unknown
aad2bf10a8
Implement R16_G16
correct trailing white spaces
Delete tabs
correct placement
Add RG16F & RG16UI & RG16I & RG16S PixelFormats
Return correct data according to changes done previously
correct PixelFormat declaration
correct coding style error
correct coding style error part 2
correct RG16S Declaration error
correct alignment
8 years ago
Subv
a99c559c69
GPU: Use the right texture format for sRGBA framebuffers.
8 years ago
Subv
6c114256ca
GPU: Allow the use of Z24S8 as a texture format.
8 years ago
Subv
b4ae8432b4
GPU: Implemented the Z32_S8_X24 depth buffer format.
8 years ago
Subv
72cb7ab18b
GPU: Allow using Z32 as a texture format.
8 years ago
Subv
1930980a26
GPU: Allow the usage of R8 as a render target format.
8 years ago
Subv
3b77420f15
GPU: Remove the assert that required the CODE_ADDRESS to be 0.
Games usually just leave it at 0 but nouveau sets it to something else. This already works fine, the assert is useless.
8 years ago
Subv
d10cc9c548
GPU: Implemented the R16 and R16F texture formats.
8 years ago
Lioncash
6bbabfe848
gl_rasterizer: Replace magic number with GL_INVALID_INDEX in SetupConstBuffers()
This is just the named constant that OpenGL provides, so we can use that
instead of using a literal -1
8 years ago
Lioncash
7300872843
gl_rasterizer: Use std::string_view instead of std::string when checking for extensions
We can avoid heap allocations here by just using a std::string_view
instead of performing unnecessary copying of the string data.
8 years ago
Lioncash
2aa1ec7f8d
gl_rasterizer: Use in-class member initializers where applicable
We can just assign to the members directly in these cases.
8 years ago
Lioncash
4cab632ba6
video_core/memory_manager: Replace a loop with std::array's fill() function in PageSlot()
We already have a function that does what this code was doing, so let's
use that instead.
8 years ago
Lioncash
38ad89a19b
video_core/memory_manager: Avoid repeated unnecessary page slot lookups
We don't need to keep calling the same function over and over again in a
loop, especially when the behavior is slightly non-trivial. We can just
keep a reference to the looked up location and do all the checking and
assignments based off it instead.
8 years ago
bunnei
772c408826
gl_rasterizer: Implement texture border color.
8 years ago
bunnei
a5062c345f
maxwell_to_gl: Implement Texture::WrapMode::Border.
8 years ago
Subv
3a80e8ab24
GPU: Implement texture format R32F.
8 years ago
bunnei
295d3104fb
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
8 years ago
Lioncash
97ce8f0457
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This should be returning void, not a std::string
8 years ago
bunnei
567ae2ae9c
gl_shader_decompiler: Implement shader instruction TLDS.
8 years ago
bunnei
889da74c9d
gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
8 years ago
bunnei
c8cb44909a
gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT.
8 years ago
bunnei
e1ffcc6817
gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.
8 years ago
bunnei
ff355e7684
gl_rasterizer_cache: Add missing log statements.
8 years ago
bunnei
04cf719b92
gl_shader_decompiler: Print instruction value in shader comments.
8 years ago
bunnei
658f096c03
gl_shader_decompiler: Check if SetRegister result is ZeroIndex.
8 years ago
Lioncash
71c3648ad6
gl_shader_decompiler: Simplify GetCommonDeclarations()
8 years ago
Lioncash
db185e6950
gl_shader_decompiler: Remove redundant Subroutine construction in AddSubroutine()
We don't need to toss away the Subroutine instance after the find() call
and reconstruct another instance with the same data right after it.
Particularly give Subroutine contains a std::set.
8 years ago
bunnei
392383692c
shader_bytecode: Implement other TEXS masks.
8 years ago
bunnei
e8f619cc71
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
8 years ago
bunnei
3a6bad38b6
gl_shader_decompiler: Implement SEL instruction.
8 years ago
bunnei
f4101aeacc
gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load.
8 years ago
bunnei
def372de50
gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set.
8 years ago
bunnei
b00904f10e
gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.
8 years ago
bunnei
602ff24d5c
gl_rasterizer: Use zeta_enable register to enable depth buffer.
8 years ago
bunnei
6d96a4fc0a
maxwell_3d: Add depth buffer enable, width, and height registers.
8 years ago
Lioncash
604f780c9d
gl_shader_manager: Replace unimplemented function prototype
This was just a linker error waiting to happen.
8 years ago
Lioncash
d923d8f50c
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
8 years ago
Lioncash
bdfd46e192
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
Lioncash
f53a9138bb
gl_state: Make references const where applicable in Apply()
8 years ago
Lioncash
80a916dc0a
gl_state: Get rid of mismatched sign conversions
While we're at it, amend the loop variable type to be the same width as
that returned by the .size() call.
8 years ago
Lioncash
10a91d9b9a
maxwell_3d: Remove unused variable within GetStageTextures()
8 years ago
Lioncash
41a8990ba7
gl_shader_decompiler: Eliminate variable and declaration shadowing
Ensures that no identifiers are being hidden, which also reduces
compiler warnings.
8 years ago
Lioncash
5b433431aa
gl_shader_decompiler: Remove unnecessary const from return values
This adds nothing from a behavioral point of view, and can inhibit the
move constructor/RVO
8 years ago
bunnei
9a4fa973c8
gl_state: Temporarily disable culling and depth test.
8 years ago
bunnei
47a305ed54
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
Lioncash
e72928762f
core: Don't construct instance of Core::System, just to access its live instance
This would result in a lot of allocations and related object
construction, just to toss it all away immediately after the call.
These are definitely not intentional, and it was intended that all of
these should have been accessing the static function GetInstance()
through the name itself, not constructed instances.
8 years ago
Lioncash
e0c31daa57
astc: Initialize vector size directly in Decompress
There's no need to perform a separate resize.
8 years ago
Lioncash
fa13cedc7a
astc: Mark functions as internally linked where applicable
8 years ago
Lioncash
03f1f17552
astc: const-correctness changes where applicable
A few member functions didn't actually modify class state, so these can
be amended as necessary.
8 years ago