Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:14
    hgallagher1993 commented #2877
  • 13:14
    hgallagher1993 commented #2877
  • 05:28
    kvark commented #3758
  • 04:34
    kvark commented #3758
  • 04:28
    kvark synchronize #3758
  • 04:18
    kvark synchronize #3758
  • 04:17
    kvark ready_for_review #3758
  • 04:10
    kvark edited #3758
  • 04:09
    kvark synchronize #3758
  • May 12 21:52
    Uniformbuffer3 synchronize #3759
  • May 12 19:40
    Uniformbuffer3 synchronize #3759
  • May 12 19:34
    Uniformbuffer3 synchronize #3759
  • May 12 18:57
    Uniformbuffer3 opened #3759
  • May 12 18:08
    Uniformbuffer3 edited #3756
  • May 12 17:52
    Uniformbuffer3 synchronize #3756
  • May 12 17:30
    Uniformbuffer3 edited #3756
  • May 12 16:18
    Uniformbuffer3 synchronize #3756
  • May 12 05:39
    kvark opened #3758
  • May 12 05:37
    kvark assigned #3757
  • May 12 04:33
    kvark commented #3757
Brendan Zabarauskas
@brendanzab
so yeah, if I can get cargo working it will be much awesome
Dzmitry Malyshau
@kvark
Well I created a bunch of issues already (#24 just now) that require thought, good design, and solid implementations. You should not have a shortage of tasks for gfx-rs for sure ;)
Brendan Zabarauskas
@brendanzab
I might have to ask @cmr for some help though
yes
Dzmitry Malyshau
@kvark
Would be even more exciting if @cmr joins the crowd!
Coraline Sherratt
@removed~csherratt
I can supply cats
Brendan Zabarauskas
@brendanzab
@kvark do we even need a initialization error for now?
Dzmitry Malyshau
@kvark
where?
Brendan Zabarauskas
@brendanzab
for gfx::start
Dzmitry Malyshau
@kvark
we don't seem to be using it
Brendan Zabarauskas
@brendanzab
I mean, the errors seem to come from initing glfw, but that is separate
Dzmitry Malyshau
@kvark
nice
@bjz I guess you can remove InitError
Dzmitry Malyshau
@kvark
@bjz in this Metal triangle example vertex data looks very much the same as in GL, draw call is also the same (drawPrimitives(0,3)), the only real difference I see is that there is no notion of shader program... Gnm has it implemented this way as well, and I supposed DX11 too, so everyone but GL?.. Hence, that is a problem with our shader abstraction - just something to think about.
Brendan Zabarauskas
@brendanzab
yeah, the shaders are pre-compiled into libs
Brendan Zabarauskas
@brendanzab
I think you can build up some sort of set of pipeline builder objects on different threads, then send them to a command queue
@photex beep
@photex gonna join in on the spinning trianglethon?
Coraline Sherratt
@removed~csherratt
Not a goo
Not a good time to break X
Brendan Zabarauskas
@brendanzab
?
brendanzab @bjz cannot parse @csherratt's comments
Coraline Sherratt
@removed~csherratt
Driver update did not go well. I am now on a smart phone.
Brendan Zabarauskas
@brendanzab
:(
Brendan Zabarauskas
@brendanzab
@photex ^
@csherratt ^
Dzmitry Malyshau
@kvark
@bjz I'll keep an eye on gitter and GH activity, but will not participate in the vidyo room. Have a good time hacking!
Brendan Zabarauskas
@brendanzab
aww, I wanted to see your face for once!
Dzmitry Malyshau
@kvark
@bjz sorry, my linux lappy is a flash-free environment, and my macmini doesn't have a webcam. You can still see my face on linkedin ;) Besides, you didn't show up either!
just wondering, is the goal of the hackaton to get the triangle spinning?
Brendan Zabarauskas
@brendanzab
yes!
still figuring out your patch
I think it might be good to have a simple triangle example, then one with the more complex stuff you added
I'm wondering if we should move to #rust-gamedev for the meetup
@kvark aslo, do you know about the bitflags! macro?
might be useful for some bitfield thingies in the messages
Brendan Zabarauskas
@brendanzab
@kvark could you join the irc?
Dzmitry Malyshau
@kvark
@bjz do you propose to have a spinning textured triangle as a separate sample? I'm good with it, sure. As for the bitflags - I considered it and rejected. If the ShaderStage type is a bitflag, then passing it for shader creation makes it less secured comparing to enum, because the user may pass Vertex | Fragment or something along these lines. Please correct me if that's wrong. I haven't figured out the best way to store block usage yet, but good thing is - it's not required for anything at the moment, so we can postpone the solution.
Brendan Zabarauskas
@brendanzab
parse_storage is nice :)
@bvssvni o/
Dzmitry Malyshau
@kvark
@bjz thanks! it's one of the brightest spots in the CL
@bvssvni hi Sven!
Brendan Zabarauskas
@brendanzab
I wonder if there is a better name for it though - I don't really understand what it does
could you add some more docs to your patch?
@bvssvni we are chatting about #23
Dzmitry Malyshau
@kvark
@bjz I agree there is very little documentation that I put in. Please let me know what needs to be covered other than parse_storage.
@bjz this function takes GL enum that describes either a vertex attribute format or a uniform parameter format, and deconstructs it into our strongly typed representation