Search
Setup for Free
S
Silk.NET
vulkan-cursed
Original message was deleted
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,782
Members
View on Discord
Similar Threads
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
L
Lyris the Kitori
•
8/29/22, 4:00 PM
vulkan
-cursed
L
Lyris the Kitori
•
8/29/22, 4:00 PM
and here the cursed journey begins
L
Lyris the Kitori
•
8/29/22, 4:03 PM
rn im just fixing a quick memory leak i found in vk
F
Furball
•
8/29/22, 4:07 PM
we dont even have a clear color
F
Furball
•
8/29/22, 4:08 PM
and we already have a memory leak
F
Furball
•
8/29/22, 4:08 PM
that was fast
L
Lyris the Kitori
•
8/29/22, 4:08 PM
it was in shader creation
L
Lyris the Kitori
•
8/29/22, 4:08 PM
it needed a pointer to a string
L
Lyris the Kitori
•
8/29/22, 4:08 PM
and we werent freeing that afterward
L
Lyris the Kitori
•
8/29/22, 4:08 PM
so i wrapped that in a class
L
Lyris the Kitori
•
8/29/22, 4:08 PM
then once the destructor gets hit i free that memory
F
Furball
•
8/29/22, 4:13 PM
very fun
K
Kai
•
8/29/22, 5:04 PM
destructor
L
Lyris the Kitori
•
8/29/22, 5:13 PM
destruct my head
K
Kai
•
8/29/22, 5:13 PM
~Head
(
)
L
Lyris the Kitori
•
8/29/22, 5:14 PM
thanks
L
Lyris the Kitori
•
8/29/22, 5:32 PM
okay now that english class has started time to work more on Vulkan
L
Lyris the Kitori
•
8/29/22, 5:32 PM
paying attention in class
?
L
Lyris the Kitori
•
8/29/22, 5:32 PM
ha
K
Kai
•
8/29/22, 5:42 PM
Nah
K
Kai
•
8/29/22, 5:42 PM
I also learned vulkan in class
L
Lyris the Kitori
•
8/29/22, 5:42 PM
i dont think they teach vulkan in english class
K
Kai
•
8/29/22, 5:42 PM
The actual contents of the class are trinary at best
L
Lyris the Kitori
•
8/29/22, 5:42 PM
oh
L
Lyris the Kitori
•
8/29/22, 5:42 PM
true
L
Lyris the Kitori
•
8/29/22, 5:46 PM
okay i spedrun the assignment with my 120wpm typing speed
L
Lyris the Kitori
•
8/29/22, 5:46 PM
back to vulkan
L
Lyris the Kitori
•
8/29/22, 5:46 PM
3 mins to compllete assignment most have barely started lol
L
Lyris the Kitori
•
8/29/22, 5:47 PM
time to figure out these validation errors
message.txt
1.99KB
L
Lyris the Kitori
•
8/29/22, 5:48 PM
seems a SType field is missing
L
Lyris the Kitori
•
8/29/22, 5:48 PM
hmmmm i dont think thats right
K
Kai
•
8/29/22, 5:48 PM
You need to use Constructor parameters instead
K
Kai
•
8/29/22, 5:49 PM
In that case it defaults to something reasonable
L
Lyris the Kitori
•
8/29/22, 5:49 PM
constructor parameters
?
L
Lyris the Kitori
•
8/29/22, 5:50 PM
oh i see
L
Lyris the Kitori
•
8/29/22, 5:50 PM
but it has a lot of other junk in the constructor that i dont always need
L
Lyris the Kitori
•
8/29/22, 5:50 PM
so ill cope with the way i currently do it
K
Kai
•
8/29/22, 5:50 PM
It
's all optional
K
Kai
•
8/29/22, 5:51 PM
Just change
TheThing = value
TheThing = value
to
theThing: value
theThing: value
L
Lyris the Kitori
•
8/29/22, 5:51 PM
oh
L
Lyris the Kitori
•
8/29/22, 5:51 PM
thats kinda ugly tho
K
Kai
•
8/29/22, 5:51 PM
And use
(
.
.
.
) instead of
{
.
.
.
}
K
Kai
•
8/29/22, 5:52 PM
It
's literally 2 chars
+ 1 char per property difference
L
Lyris the Kitori
•
8/29/22, 5:52 PM
yeah but theres a colon and it gives me Rust PTSD
L
Lyris the Kitori
•
8/29/22, 5:52 PM
that is probably better to do tho ill do that
K
Kai
•
8/29/22, 5:53 PM
Afraid of colons I see
L
Lyris the Kitori
•
8/29/22, 5:54 PM
it makes me feel like im doing
let test: type = 1
let test: type = 1
L
Lyris the Kitori
•
8/29/22, 6:06 PM
tf
L
Lyris the Kitori
•
8/29/22, 6:08 PM
okay i got a better error
L
Lyris the Kitori
•
8/29/22, 6:15 PM
i should probably not be winging this
message.txt
2.12KB
Next page
TheThing = value
TheThing = value
theThing: value
theThing: value
let test: type = 1
let test: type = 1