Fernando Sahmkow
c03f0b3c89
Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation
2 years ago
ameerj
a1d8306bfd
emit_glasm_image: Fix TXQ with MSAA textures
3 years ago
ameerj
2c2e019a44
shader_recompiler: TXQ: Skip QueryLevels when possible
3 years ago
ameerj
0f795603fc
glasm: Add MS sampler types
3 years ago
FengChen
b2a6dde438
video_code: support rectangle texture
3 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
ameerj
f32b2bcd20
shader_recompiler: Adjust emit_context includes
4 years ago
ReinUsesLisp
e66d5b88a6
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
4 years ago
ReinUsesLisp
cfeb161c7e
glsl/glasm: Pass and use scaling parameters in shaders
4 years ago
ReinUsesLisp
c15332c44f
shader: Add IsTextureScaled opcode
4 years ago
ReinUsesLisp
61cd7dd301
shader: Add logging
5 years ago
ReinUsesLisp
eb8464cb3d
glasm: Fix immediate texture coordinate
5 years ago
ReinUsesLisp
83db7abae6
glasm: Use integer lod for TXQ
5 years ago
ReinUsesLisp
ca05a13c62
glasm: Catch more register leaks
Add support for null registers. These are used when an instruction has
no usages.
This comes handy when an instruction is only used for its CC value, with
the caveat of having to invalidate all pseudo-instructions before
defining the instruction itself in the register allocator. This commits
changes this.
Workaround a bug on Nvidia's condition codes conditional execution using
branches.
5 years ago
ReinUsesLisp
c8414e686f
glasm: Implement image atomics
5 years ago
ReinUsesLisp
0a54291c9c
glasm: Fix potential aliasing bug on cube array samples
5 years ago
ReinUsesLisp
8fdb00a2b5
glasm: Implement ImageWrite
5 years ago
ReinUsesLisp
dadd192b30
glasm: Implement ImageRead
5 years ago
ReinUsesLisp
f79cbbf814
glasm: Implement ImageGradient
5 years ago
ReinUsesLisp
12dcb9fcc2
glasm: Implement ImageQueryLod
5 years ago
ReinUsesLisp
4a22942f45
glasm: Implement ImageFetch
5 years ago
ReinUsesLisp
0a42277a4f
glasm: Implement TXQ and improve texture info reads
5 years ago
ReinUsesLisp
3d3ed53511
glasm: Implement textureGather instructions
5 years ago
ReinUsesLisp
afcb140185
glasm: Add missing return value on move assignment
5 years ago
ReinUsesLisp
ec6fc5fe78
glasm: Implement TEX and TEXS instructions
Remove lod clamp from texture instructions with lod, as this is not
needed (nor supported).
5 years ago
ReinUsesLisp
c42a6143a5
glasm: Add support for non-2D texture samples
5 years ago
ReinUsesLisp
bee9fb0563
glasm: Reorder unreachable image instructions to the bottom
5 years ago
ReinUsesLisp
e6b4d461d2
glasm: Add support for texture offsets
5 years ago
ReinUsesLisp
bf2949df10
glasm: Improve texture sampling instructions
5 years ago
lat9nq
f7a2340205
shader_recompiler: GCC fixes
Fixes members of unnamed union not being accessible, and one function
without a declaration.
5 years ago
ReinUsesLisp
9fb2ea08e8
glasm: Initial (broken) implementation of TEX on GLASM
5 years ago
ReinUsesLisp
b10cf64c48
glasm: Add GLASM backend infrastructure
5 years ago