summaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-11-12 13:43:08 -0400
committerGravatar FernandoS272019-11-14 11:15:27 -0400
commitcd0f5dfc17209eab146879faad51186b130c4951 (patch)
tree0185de18a433f22edb69260d3f54779419e2b807 /src/video_core/shader/node.h
parentShader_IR: Implement FLO instruction. (diff)
downloadyuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.gz
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.xz
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.zip
Shader_IR: Implement TXD instruction.
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 2d11facaf..6c5046d3b 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -151,6 +151,7 @@ enum class OperationCode {
151 TextureQueryDimensions, /// (MetaTexture, float a) -> float4 151 TextureQueryDimensions, /// (MetaTexture, float a) -> float4
152 TextureQueryLod, /// (MetaTexture, float[N] coords) -> float4 152 TextureQueryLod, /// (MetaTexture, float[N] coords) -> float4
153 TexelFetch, /// (MetaTexture, int[N], int) -> float4 153 TexelFetch, /// (MetaTexture, int[N], int) -> float4
154 TextureGradient, /// (MetaTexture, float[N] coords, float[N*2] derivates) -> float4
154 155
155 ImageLoad, /// (MetaImage, int[N] coords) -> void 156 ImageLoad, /// (MetaImage, int[N] coords) -> void
156 ImageStore, /// (MetaImage, int[N] coords) -> void 157 ImageStore, /// (MetaImage, int[N] coords) -> void
@@ -363,6 +364,7 @@ struct MetaTexture {
363 Node array; 364 Node array;
364 Node depth_compare; 365 Node depth_compare;
365 std::vector<Node> aoffi; 366 std::vector<Node> aoffi;
367 std::vector<Node> derivates;
366 Node bias; 368 Node bias;
367 Node lod; 369 Node lod;
368 Node component{}; 370 Node component{};