Subv
f85cff0f48
GPU: Allow using R16F as a render target format.
8 years ago
Unknown
4672a01cbf
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
c5b838aeef
GPU: Use the right texture format for sRGBA framebuffers.
8 years ago
Subv
ee8123bf13
GPU: Allow the use of Z24S8 as a texture format.
8 years ago
Subv
daf2504d31
GPU: Implemented the Z32_S8_X24 depth buffer format.
8 years ago
Subv
f747a7e35d
GPU: Allow using Z32 as a texture format.
8 years ago
Subv
4f574201ea
GPU: Allow the usage of R8 as a render target format.
8 years ago
Subv
8f2c4191ab
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
4cc1e180ec
GPU: Implemented the R16 and R16F texture formats.
8 years ago
Lioncash
0162f8b3a7
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
16139ed53b
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
b5eb3905cd
gl_rasterizer: Use in-class member initializers where applicable
We can just assign to the members directly in these cases.
8 years ago
Lioncash
bf608f125e
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
d71e19fd75
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
69c45ce71c
gl_rasterizer: Implement texture border color.
8 years ago
bunnei
6b3e54621f
maxwell_to_gl: Implement Texture::WrapMode::Border.
8 years ago
Subv
ccc42702b5
GPU: Implement texture format R32F.
8 years ago
bunnei
2ff86f5765
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
8 years ago
Lioncash
33e2033af5
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This should be returning void, not a std::string
8 years ago
bunnei
9505283989
gl_shader_decompiler: Implement shader instruction TLDS.
8 years ago
bunnei
a27c0099ed
gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
8 years ago
bunnei
3a19c1098d
gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT.
8 years ago
bunnei
bcc184acfa
gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.
8 years ago
bunnei
89db8c2171
gl_rasterizer_cache: Add missing log statements.
8 years ago
bunnei
c4322ce87e
gl_shader_decompiler: Print instruction value in shader comments.
8 years ago
bunnei
81aa02424b
gl_shader_decompiler: Check if SetRegister result is ZeroIndex.
8 years ago
Lioncash
3b88ce3dcb
gl_shader_decompiler: Simplify GetCommonDeclarations()
8 years ago
Lioncash
0797657bc0
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
148a5bef7e
shader_bytecode: Implement other TEXS masks.
8 years ago
bunnei
f5a2944ab6
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
8 years ago
bunnei
c43eaa94f3
gl_shader_decompiler: Implement SEL instruction.
8 years ago
bunnei
63fbf9a7d3
gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load.
8 years ago
bunnei
4301f0b539
gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set.
8 years ago
bunnei
cd47391c2d
gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.
8 years ago
bunnei
d8c60029d6
gl_rasterizer: Use zeta_enable register to enable depth buffer.
8 years ago
bunnei
5287991a36
maxwell_3d: Add depth buffer enable, width, and height registers.
8 years ago
Lioncash
d5bc9aef4e
gl_shader_manager: Replace unimplemented function prototype
This was just a linker error waiting to happen.
8 years ago
Lioncash
863579736c
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
8 years ago
Lioncash
bb960c8cb4
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
Lioncash
0faa13baeb
gl_state: Make references const where applicable in Apply()
8 years ago
Lioncash
e6b3d3a9ea
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
8b08f82dc7
maxwell_3d: Remove unused variable within GetStageTextures()
8 years ago
Lioncash
f26866ff6a
gl_shader_decompiler: Eliminate variable and declaration shadowing
Ensures that no identifiers are being hidden, which also reduces
compiler warnings.
8 years ago
Lioncash
c2121cb059
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
cf30c4be22
gl_state: Temporarily disable culling and depth test.
8 years ago
bunnei
b496a9eefe
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
Lioncash
3a4841e403
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
6a03badcbc
astc: Initialize vector size directly in Decompress
There's no need to perform a separate resize.
8 years ago
Lioncash
0f148548f3
astc: Mark functions as internally linked where applicable
8 years ago
Lioncash
c5803e30d3
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