No video

WGPU for beginners 2: making a blank screen (glfw)

  Рет қаралды 403

GetIntoGameDev

GetIntoGameDev

2 ай бұрын

#gamedev #gamedevelopment #programming
Discord: / discord
Patreon: patreon.com/us...
Code: github.com/ame...
Playlist: • WGPU

Пікірлер: 11
@Flakelolz
@Flakelolz 2 ай бұрын
I was getting an weird error (Invalid Surface) trying to run the project at 21:55 so I copied the code from your GitHub to see it I made a mistake, but it was still crashing and giving me an "Invalid Surface" error, although a bit different because GLFW wasn't throwing a stack trace or something. Anyways, I changed the Backend from wgpu::Backends::all() to wgpu::Backends::DX12 and that Fixed it. I'm on Windows 11 with a RTX 2060 Super. Not sure what's going on exactly, but thank you for the videos, can't wait for the next one!
@GetIntoGameDev
@GetIntoGameDev 2 ай бұрын
Very strange, glad you got it working!
@moacirbrg
@moacirbrg Ай бұрын
First, thank you so much for your video. It helped me a lot. Second, there is a memory leak on your, but my limited skills working with Rust and WGPU are making my life harder to solve it. I think it is on your update_surface method since it creates a new instance of the surface, but doesn't drop the old one. If you monitor your memory and move your Window for a while on your screen, you will see your memory increasing forever.
@GetIntoGameDev
@GetIntoGameDev Ай бұрын
Great catch, thankyou!
@blacklistnr1
@blacklistnr1 Ай бұрын
I've no idea how I ended up here, but some feedback: I don't find the _type code in silence -> explain the code_ neither too engaging or time efficient My favourite style that I've found is narrating the goal via current thoughts before/while coding with breaks if relevant, e.g. "Ok, we have an initialized surface, this should be passed to the GPU device to draw on. To do that we need to go though an *typing & saying* instance.request_adapter *break* which is similar to the vulkan adapter if you've used that, *continue typing*..." Interesting nonetheless, keep it up!
@GetIntoGameDev
@GetIntoGameDev Ай бұрын
Thanks for the feedback, appreciate it!
@SkyFly19853
@SkyFly19853 2 ай бұрын
was it Thailand ?
@GetIntoGameDev
@GetIntoGameDev 2 ай бұрын
That’s right!
@SkyFly19853
@SkyFly19853 2 ай бұрын
@@GetIntoGameDev Indeed.
Concurrent Programming: Taskflow
19:07
GetIntoGameDev
Рет қаралды 309
OpenGL with C++: View Culling
26:41
GetIntoGameDev
Рет қаралды 221
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 3,3 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
ПОМОГЛА НАЗЫВАЕТСЯ😂
00:20
Chapitosiki
Рет қаралды 26 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 40 МЛН
Concurrent Programming: SIMD
22:56
GetIntoGameDev
Рет қаралды 430
WebGPU for Beginners: Mipmaps
16:00
GetIntoGameDev
Рет қаралды 602
Databases are the endgame for data-oriented design
20:31
SpacetimeDB
Рет қаралды 1,6 М.
Concurrent Programming: Compute Shaders
13:08
GetIntoGameDev
Рет қаралды 596
OpenGL with C++: Image Arrays
26:14
GetIntoGameDev
Рет қаралды 733
OpenGL Oversimplified: Stencil Tests
15:33
GetIntoGameDev
Рет қаралды 117
Linear Algebra for Game Development 2: Vector Dot Product
22:23
GetIntoGameDev
Рет қаралды 382
WebGPU vs WebGL performance difference is crazy
0:57
OHZI Interactive Studio
Рет қаралды 29 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 3,3 МЛН