Commit Graph
4 Commits
Author SHA1 Message Date
Martins MozeikoandRyan Fleury fd982d38fc Fixes bad resource usage in rendering
D3D11 is quite strict about how resources are supposed to be used - read/write & CPU access.
This changes Tex2DKind and BufferKind into one uniform ResourceKind (because it's the same thing really).

And it is more strict about usage:
1) Static is not allowed to update, resource is immutable, data provided at creation
2) Dynamic allows CPU to update GPU resource occasionally via UpdateSubresource
3) Stream allows CPU to update GPU resource often via Map/Unmap (currently unused)
2024-05-24 14:04:42 -07:00
Martins MozeikoandRyan Fleury bae91cd40c doing blur shader without alpha blending 2024-01-23 15:05:33 -08:00
Martins MozeikoandRyan Fleury 1705fdd421 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 08:38:53 -08:00
Ryan Fleury a42ec6aeff initial upload 2024-01-10 19:57:50 -08:00