Slot 0 error

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
aslanbey0158
Posts: 52
Joined: April 15th, 2017, 10:48 am

Slot 0 error

Post by aslanbey0158 » June 2nd, 2019, 1:12 am

Before Point light i get Slot 0 error too. Video (24.2) (after space bar,it occurs)
I applied "alignas(16)" somewheres but i couldnt solve the problem.
i know i am headache on your head, but i cant do anything. :)

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Slot 0 error

Post by albinopapa » June 2nd, 2019, 6:14 am

Share code or it didn't happen. Easiest way is through GitHub, but you can also upload a zip file of the project minus the .vs, Release and Debug and x64 folders.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Slot 0 error

Post by chili » June 2nd, 2019, 7:21 am

Yeah, can't help without a LOT more context. Code being the most pertinent.
Chili

aslanbey0158
Posts: 52
Joined: April 15th, 2017, 10:48 am

Re: Slot 0 error

Post by aslanbey0158 » June 2nd, 2019, 9:27 am

The File is attached
Attachments
uyg 24-2.rar
(533.72 KiB) Downloaded 153 times

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Slot 0 error

Post by albinopapa » June 2nd, 2019, 10:06 pm

Ok, the key clue is in the error message window. It says that the PixelShader is expecting a sampler and none has been bound. If you step through the debugger, you'll see that this is indeed the case.

I would first look through the SkinnedBox constructor and see if you forgot to include the ID3D11SamplerState bindable.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply