Commit Graph

21 Commits (eb8464cb3d3cd4a3b5a03d8194ec7b34d8becd75)

Author SHA1 Message Date
ReinUsesLisp eb8464cb3d glasm: Fix immediate texture coordinate 4 years ago
ReinUsesLisp 83db7abae6 glasm: Use integer lod for TXQ 4 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.
4 years ago
ReinUsesLisp c8414e686f glasm: Implement image atomics 4 years ago
ReinUsesLisp 0a54291c9c glasm: Fix potential aliasing bug on cube array samples 4 years ago
ReinUsesLisp 8fdb00a2b5 glasm: Implement ImageWrite 4 years ago
ReinUsesLisp dadd192b30 glasm: Implement ImageRead 4 years ago
ReinUsesLisp f79cbbf814 glasm: Implement ImageGradient 4 years ago
ReinUsesLisp 12dcb9fcc2 glasm: Implement ImageQueryLod 4 years ago
ReinUsesLisp 4a22942f45 glasm: Implement ImageFetch 4 years ago
ReinUsesLisp 0a42277a4f glasm: Implement TXQ and improve texture info reads 4 years ago
ReinUsesLisp 3d3ed53511 glasm: Implement textureGather instructions 4 years ago
ReinUsesLisp afcb140185 glasm: Add missing return value on move assignment 4 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).
4 years ago
ReinUsesLisp c42a6143a5 glasm: Add support for non-2D texture samples 4 years ago
ReinUsesLisp bee9fb0563 glasm: Reorder unreachable image instructions to the bottom 4 years ago
ReinUsesLisp e6b4d461d2 glasm: Add support for texture offsets 4 years ago
ReinUsesLisp bf2949df10 glasm: Improve texture sampling instructions 4 years ago
lat9nq f7a2340205 shader_recompiler: GCC fixes
Fixes members of unnamed union not being accessible, and one function
without a declaration.
4 years ago
ReinUsesLisp 9fb2ea08e8 glasm: Initial (broken) implementation of TEX on GLASM 4 years ago
ReinUsesLisp b10cf64c48 glasm: Add GLASM backend infrastructure 4 years ago