Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:55
    aleksijuvani commented #3042
  • 02:43
    mandeep synchronize #3044
  • 02:41
    mandeep synchronize #3044
  • 02:04
    kvark labeled #3041
  • 02:04
    kvark labeled #3041
  • Oct 14 20:48
    mandeep edited #3044
  • Oct 14 20:47
    mandeep opened #3044
  • Oct 14 15:14
    demurgos edited #3043
  • Oct 14 15:14
    demurgos edited #3043
  • Oct 14 15:13
    demurgos synchronize #3043
  • Oct 14 11:59
    demurgos opened #3043
  • Oct 13 19:15
    mandeep edited #3041
  • Oct 13 04:53
    aleksijuvani opened #3042
  • Oct 13 04:39
    mandeep edited #3041
  • Oct 13 04:39
    mandeep opened #3041
  • Oct 11 15:20
    bors[bot] closed #3040
  • Oct 11 15:20
    bors[bot] closed #3036
  • Oct 11 15:20
    bors[bot] closed #3023
  • Oct 11 15:20
    bors[bot] closed #3036
  • Oct 11 15:20
    bors[bot] closed #3023
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
Brendan Zabarauskas
@brendanzab
@kvark what do you think of cgmath#93?
Dzmitry Malyshau
@kvark
@bjz I pretty much expressed my thoughts on #93 already. A simple map() would be much better than the whole PR
Brendan Zabarauskas
@brendanzab
agreed
Dzmitry Malyshau
@kvark
Sorry, I'm unable to either follow IRC or write documentation at the moment... If I were you, I'd accept my PR and start looking for the way to provide UBO params, then update mvp matrix into one of these buffers each frame.
Brendan Zabarauskas
@brendanzab
awesome
Brendan Zabarauskas
@brendanzab
@kvark merged!
Sven Nilsen
@bvssvni
@kvark hi!
Dzmitry Malyshau
@kvark
Saw that, thanks! You can also just provide the matrix as a uniform. That would be easier to get quickly but more difficult to get right...
Brendan Zabarauskas
@brendanzab
@kvark create_object - can we use a Result for that?
Dzmitry Malyshau
@kvark
@bjz not really. There might be a useful log message even if the compilation/linkage succeeds
Brendan Zabarauskas
@brendanzab
ah interesting
do they have warnings sometimes?
Dzmitry Malyshau
@kvark
I've seen those, yeah
Brendan Zabarauskas
@brendanzab
awesome - didn't know that
I'll add some docs