summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-11-12 18:43:08 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-11-14 16:15:27 +0100
commitcd0f5dfc17209eab146879faad51186b130c4951 (patch)
tree0185de18a433f22edb69260d3f54779419e2b807 /src/video_core/shader/node.h
parentShader_IR: Implement FLO instruction. (diff)
downloadyuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.gz
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.bz2
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.lz
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.xz
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.tar.zst
yuzu-cd0f5dfc17209eab146879faad51186b130c4951.zip
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 {
TextureQueryDimensions, /// (MetaTexture, float a) -> float4
TextureQueryLod, /// (MetaTexture, float[N] coords) -> float4
TexelFetch, /// (MetaTexture, int[N], int) -> float4
+ TextureGradient, /// (MetaTexture, float[N] coords, float[N*2] derivates) -> float4
ImageLoad, /// (MetaImage, int[N] coords) -> void
ImageStore, /// (MetaImage, int[N] coords) -> void
@@ -363,6 +364,7 @@ struct MetaTexture {
Node array;
Node depth_compare;
std::vector<Node> aoffi;
+ std::vector<Node> derivates;
Node bias;
Node lod;
Node component{};