diff options
| author | 2021-03-08 18:31:53 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | ab463712474de5f99eec137a9c6233e55fe184f0 (patch) | |
| tree | 30d79ac64dd03d5cfafd07c0c42c2baadc82de98 /src/shader_recompiler/file_environment.cpp | |
| parent | shader: Implement R2P (diff) | |
| download | yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.tar.gz yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.tar.xz yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.zip | |
shader: Initial support for textures and TEX
Diffstat (limited to 'src/shader_recompiler/file_environment.cpp')
| -rw-r--r-- | src/shader_recompiler/file_environment.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/file_environment.cpp b/src/shader_recompiler/file_environment.cpp index 5127523f9..21700c72b 100644 --- a/src/shader_recompiler/file_environment.cpp +++ b/src/shader_recompiler/file_environment.cpp | |||
| @@ -39,6 +39,10 @@ u64 FileEnvironment::ReadInstruction(u32 offset) { | |||
| 39 | return data[offset / 8]; | 39 | return data[offset / 8]; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | u32 FileEnvironment::TextureBoundBuffer() { | ||
| 43 | throw NotImplementedException("Texture bound buffer serialization"); | ||
| 44 | } | ||
| 45 | |||
| 42 | std::array<u32, 3> FileEnvironment::WorkgroupSize() { | 46 | std::array<u32, 3> FileEnvironment::WorkgroupSize() { |
| 43 | return {1, 1, 1}; | 47 | return {1, 1, 1}; |
| 44 | } | 48 | } |