summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/smoothstep
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtins/ir/smoothstep')
-rw-r--r--src/glsl/builtins/ir/smoothstep14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/glsl/builtins/ir/smoothstep b/src/glsl/builtins/ir/smoothstep
index b283f73d8d3..94c98b29e53 100644
--- a/src/glsl/builtins/ir/smoothstep
+++ b/src/glsl/builtins/ir/smoothstep
@@ -5,7 +5,7 @@
(declare (in) float edge1)
(declare (in) float x))
((declare () float t)
- (assign (constant bool (1)) (x) (var_ref t)
+ (assign (x) (var_ref t)
(expression float max
(expression float min
(expression float / (expression float - (var_ref x) (var_ref edge0)) (expression float - (var_ref edge1) (var_ref edge0)))
@@ -18,7 +18,7 @@
(declare (in) float edge1)
(declare (in) vec2 x))
((declare () vec2 t)
- (assign (constant bool (1)) (xy) (var_ref t)
+ (assign (xy) (var_ref t)
(expression vec2 max
(expression vec2 min
(expression vec2 / (expression vec2 - (var_ref x) (var_ref edge0)) (expression float - (var_ref edge1) (var_ref edge0)))
@@ -32,7 +32,7 @@
(declare (in) float edge1)
(declare (in) vec3 x))
((declare () vec3 t)
- (assign (constant bool (1)) (xyz) (var_ref t)
+ (assign (xyz) (var_ref t)
(expression vec3 max
(expression vec3 min
(expression vec3 / (expression vec3 - (var_ref x) (var_ref edge0)) (expression float - (var_ref edge1) (var_ref edge0)))
@@ -47,7 +47,7 @@
(declare (in) float edge1)
(declare (in) vec4 x))
((declare () vec4 t)
- (assign (constant bool (1)) (xyzw) (var_ref t)
+ (assign (xyzw) (var_ref t)
(expression vec4 max
(expression vec4 min
(expression vec4 / (expression vec4 - (var_ref x) (var_ref edge0)) (expression float - (var_ref edge1) (var_ref edge0)))
@@ -61,7 +61,7 @@
(declare (in) vec2 edge1)
(declare (in) vec2 x))
((declare () vec2 t)
- (assign (constant bool (1)) (xy) (var_ref t)
+ (assign (xy) (var_ref t)
(expression vec2 max
(expression vec2 min
(expression vec2 / (expression vec2 - (var_ref x) (var_ref edge0)) (expression vec2 - (var_ref edge1) (var_ref edge0)))
@@ -75,7 +75,7 @@
(declare (in) vec3 edge1)
(declare (in) vec3 x))
((declare () vec3 t)
- (assign (constant bool (1)) (xyz) (var_ref t)
+ (assign (xyz) (var_ref t)
(expression vec3 max
(expression vec3 min
(expression vec3 / (expression vec3 - (var_ref x) (var_ref edge0)) (expression vec3 - (var_ref edge1) (var_ref edge0)))
@@ -89,7 +89,7 @@
(declare (in) vec4 edge1)
(declare (in) vec4 x))
((declare () vec4 t)
- (assign (constant bool (1)) (xyzw) (var_ref t)
+ (assign (xyzw) (var_ref t)
(expression vec4 max
(expression vec4 min
(expression vec4 / (expression vec4 - (var_ref x) (var_ref edge0)) (expression vec4 - (var_ref edge1) (var_ref edge0)))