mitchellhansen
|
2207c41956
|
Brainstorming the design.
|
5 years ago |
mitchellhansen
|
c5b3c29ad4
|
in the midst of a very messy refactor of the way i build the command buffer
|
5 years ago |
mitchellhansen
|
56455774bc
|
cleaning up the shader hoohaw
|
5 years ago |
mitchellhansen
|
bb1f782168
|
pulled swapchain out of shaderkernels
|
5 years ago |
mitchellhansen
|
28878dc345
|
fixed minor regression, cleaned up source tree
|
5 years ago |
mitchellhansen
|
1f33d96ae5
|
Added sprite and better vertex format. works, but now I lost texturing
|
5 years ago |
mitchellhansen
|
cce893a0c8
|
saving working on key entry. going to do pallette now
|
5 years ago |
mitchellhansen
|
a91e071909
|
refactored the compute image
|
5 years ago |
mitchellhansen
|
a8679459ea
|
I have kinda given up trying to wrangle this descriptorsetbuilder. Going to read more on how sprites are best handled in regards to their textures
|
5 years ago |
mitchellhansen
|
9951afd5a5
|
.
|
5 years ago |
mitchellhansen
|
982e2ad517
|
initial impl of get image set
|
5 years ago |
mitchellhansen
|
77ccd415d0
|
easiest solution there was just to remove the unclonable objects from ShaderKernels
|
5 years ago |
mitchellhansen
|
db06459bd6
|
still working on getting ownership of everything squared away
|
5 years ago |
mitchellhansen
|
321f30b4cc
|
The entry point takes a borrow of the shader module which is then cloned by the pipeline. So I gotta keep the shader, entry, and modules in a high scope
|
6 years ago |
mitchellhansen
|
2327a7f05f
|
added compute kernel helper
|
6 years ago |
mitchellhansen
|
e476cb2e4e
|
It was the gamma being wrong. Interesting how much different this is working than SFML+OpenCL
|
6 years ago |
mitchellhansen
|
58f5289a3b
|
wasn't the layout. It was the colors being bound between 0-1 instead of 255 like I was expecting
|
6 years ago |
mitchellhansen
|
5928eb5dde
|
getting close, something wrong with copying the buffer. Probably the format that I've selected
|
6 years ago |
mitchellhansen
|
26410b78a2
|
Got something working. Need to test and verify I'm getting the data from the compute kernel
|
6 years ago |
mitchellhansen
|
4d5b09e9ca
|
adding a second image buffer for GPU only access. Immutable buffer is write once for textures only. No sampler for regular image buffer though??
|
6 years ago |
mitchellhansen
|
937b4fc8ca
|
added texture. looks like copying the one from the compute output isn't going to totally work out of the box
|
6 years ago |
mitchellhansen
|
5751965ce3
|
got everything worked out in the loop. I guess next will be to swap the compute buffer to the image buffer
|
6 years ago |
mitchellhansen
|
3f79b276a9
|
got it working again. Finally clicked with me what was going on with the functions & how to specify their generic types
|
6 years ago |
mitchellhansen
|
a71958e815
|
working on porting. Got some stuff cleaned up but I've broken the example I had running at one point
|
6 years ago |
mitchellhansen
|
86b4f7d9a3
|
woweee, vkprocessor compiles now
|
6 years ago |
mitchellhansen
|
f5bf07085d
|
About 1/3 of the way done encapsulating all this vulkan boilerplate into a struct
|
6 years ago |
mitchellhansen
|
5da2f9f0b5
|
had a bit of a time finding the problem with the specialization constants being unimplemented. Adding an impl lets rust elicit the pipeline type so I can store it, thank god
|
6 years ago |
mitchellhansen
|
c8a968f4f6
|
porting over the graphics example
|
6 years ago |
mitchellhansen
|
d6b81ae468
|
Got the compute thing going. Needs to be run before the rasterizer but that's fine
|
6 years ago |
mitchellhansen
|
751b7641b2
|
In the middle of a bit of a versioning hell
|
6 years ago |
mitchellhansen
|
8a699c8f6b
|
porting over to full vulkan
|
6 years ago |
mitchellhansen
|
807597ebaf
|
soul searching on the whole Sprite/Texture thing. It seems like SFML encourages batches of Textures to be loaded vs a constant stream of new Textures like this application will be producing. So, methinks it's time to venture out into some vulkan 2d graphics libraries
|
6 years ago |
mitchellhansen
|
cc5b2a346e
|
going to just use the ol update and click routine
|
6 years ago |
mitchellhansen
|
35b4907d5d
|
fighting with the borrow checker. I don't think this child-parent updating works in rust
|
6 years ago |
mitchellhansen
|
820b99ae4e
|
forked shade_runner and added compiler options. Going to add buttons along with a workflow for picking swatches
|
6 years ago |
mitchellhansen
|
942ff4035d
|
added color swatch picking. Need to align it to the slewed image
|
6 years ago |
mitchellhansen
|
c3a2c45e21
|
added dragging
|
6 years ago |
mitchellhansen
|
a403d13f41
|
Working on zooming and scrolling of the image. Want to do a full input chain like I did the raycaster, but I don't know if I want to commit to SFML for my windowing...
|
6 years ago |
mitchellhansen
|
5551581a3e
|
running again
|
6 years ago |
mitchellhansen
|
21c7801fc8
|
interesting behaviour on the .clone()ing of options and arcs causing compiler errors
|
6 years ago |
mitchellhansen
|
8c56bda87a
|
struggling with the borrow checker
|
6 years ago |
mitchellhansen
|
f903b741e0
|
separating out vulkan stuff
|
6 years ago |
mitchellhansen
|
b2b486be84
|
so that didn't do what I wanted, essentially a pixelate shader ATM
|
6 years ago |
mitchellhansen
|
e597e8ef1b
|
stupid stupid stupid. buffer write bug
|
6 years ago |
mitchellhansen
|
e7d4d6a8e2
|
took out all the sfml shader stuff. will port the rest to vulkan if buffer swapping becomes a perf issue
|
6 years ago |
mitchellhansen
|
ceb138c391
|
So it seems like we are constrained to a fixed size buffer?
|
6 years ago |
mitchellhansen
|
20f3075fa8
|
for some reason I broke it. I think it has to do with the glsl layout
|
6 years ago |
mitchellhansen
|
4b85f6dd1f
|
made buffer loading much faster
|
6 years ago |
mitchellhansen
|
d5350a04ff
|
runtime compiled shader. Annoying behaviour forcing clean builds or whitespace modification before picking up shader changes in compile time shader
|
6 years ago |
mitchellhansen
|
8c22536653
|
adding another buffer for xy
|
6 years ago |
mitchellhansen
|
4de26c702d
|
still dont know why this isn't working
|
6 years ago |
mitchellhansen
|
6698c04b58
|
just gonna do a file read
|
6 years ago |
mitchellhansen
|
e8d94e4ba7
|
fiddling
|
6 years ago |
mitchellhansen
|
7a9f08c7ec
|
editing the image via vulkan compute shader
|
6 years ago |
mitchellhansen
|
9b266c8d3f
|
moved gpu example to main
|
6 years ago |
mitchellhansen
|
ff679e1cab
|
update references
|
6 years ago |
mitchellhansen
|
c139121acb
|
moving files
|
6 years ago |
mitchellhansen
|
e001f252eb
|
imported shader example
|
6 years ago |
mitchellhansen
|
b9f51bab09
|
Blurs pixels. This is way to slow. Need to SIMD or maybe OpenCV
|
6 years ago |
mitchellhansen
|
f844982553
|
gutted and playing with pixel manipulation
|
6 years ago |
mitchellhansen
|
cbfc854dc1
|
.
|
6 years ago |
mitchellhansen
|
070fdb3873
|
Apparently *self referencial structs* are a big no no in Rust, bummer
|
6 years ago |
MitchellHansen
|
21dc0b81ed
|
going to just put all the loading stuff into the EntState
|
6 years ago |
mitchellhansen
|
72bf8217ef
|
.
|
6 years ago |
MitchellHansen
|
45256f1a0e
|
.
|
6 years ago |
MitchellHansen
|
3eda84210d
|
message
|
6 years ago |
mitchellhansen
|
2dac8912e4
|
figuring out who the hell is going to own the texture atlas texture
|
6 years ago |
MitchellHansen
|
8d4e2f1c1e
|
debugging reference and ownership issues
|
6 years ago |
mitchellhansen
|
4075c95dff
|
yeah that didn't fix it
|
6 years ago |
mitchellhansen
|
4d3f48f075
|
fiddling with the movement
|
6 years ago |
MitchellHansen
|
474eb9311e
|
Adding bounding boxes
|
6 years ago |
MitchellHansen
|
dc6765af99
|
.
|
6 years ago |
MitchellHansen
|
860ea2deab
|
removed warnings
|
6 years ago |
mitchellhansen
|
41b3dd4d0f
|
.
|
6 years ago |
MitchellHansen
|
00fe05fcdc
|
Movement
|
6 years ago |
MitchellHansen
|
b0d11f98be
|
init
|
6 years ago |