mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 07:45:59 +01:00
Remove unused ignoreCorners variable from texture shaders.
This commit is contained in:
parent
6fe103cf06
commit
c6333ba796
1 changed files with 0 additions and 7 deletions
|
@ -13,9 +13,6 @@ inline static constexpr auto ROUNDED_SHADER_FUNC = [](const std::string colorVar
|
||||||
|
|
||||||
if (pixCoord.x + pixCoord.y > radius) {
|
if (pixCoord.x + pixCoord.y > radius) {
|
||||||
|
|
||||||
if (ignoreCorners == 1)
|
|
||||||
discard;
|
|
||||||
|
|
||||||
float dist = length(pixCoord);
|
float dist = length(pixCoord);
|
||||||
|
|
||||||
if (dist > radius)
|
if (dist > radius)
|
||||||
|
@ -64,7 +61,6 @@ uniform vec2 fullSize;
|
||||||
uniform float radius;
|
uniform float radius;
|
||||||
|
|
||||||
uniform int primitiveMultisample;
|
uniform int primitiveMultisample;
|
||||||
uniform int ignoreCorners;
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
|
@ -104,7 +100,6 @@ uniform int applyTint;
|
||||||
uniform vec3 tint;
|
uniform vec3 tint;
|
||||||
|
|
||||||
uniform int primitiveMultisample;
|
uniform int primitiveMultisample;
|
||||||
uniform int ignoreCorners;
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
|
@ -141,7 +136,6 @@ uniform int applyTint;
|
||||||
uniform vec3 tint;
|
uniform vec3 tint;
|
||||||
|
|
||||||
uniform int primitiveMultisample;
|
uniform int primitiveMultisample;
|
||||||
uniform int ignoreCorners;
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
|
@ -227,7 +221,6 @@ uniform int applyTint;
|
||||||
uniform vec3 tint;
|
uniform vec3 tint;
|
||||||
|
|
||||||
uniform int primitiveMultisample;
|
uniform int primitiveMultisample;
|
||||||
uniform int ignoreCorners;
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue