From cd0f5dfc17209eab146879faad51186b130c4951 Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Tue, 12 Nov 2019 13:43:08 -0400 Subject: Shader_IR: Implement TXD instruction. --- src/video_core/shader/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video_core/shader/node.h') 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 aoffi; + std::vector derivates; Node bias; Node lod; Node component{}; -- cgit v1.2.3