Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:43
    chemicstry opened #3205
  • 17:38
    bors[bot] commented #3204
  • 17:38
    bors[bot] closed #3204
  • 17:38

    bors[bot] on master

    [mtl] update feature set, hack … Merge #3204 3204: [mtl] update… (compare)

  • 17:09
    kvark commented #3202
  • 17:09
    kvark labeled #3202
  • 17:09
    kvark labeled #3202
  • 17:09
    kvark labeled #3202
  • 17:09
    kvark labeled #3202
  • 17:09
    kvark labeled #3202
  • 16:51

    bors[bot] on staging.tmp

    (compare)

  • 16:51

    bors[bot] on staging

    [mtl] update feature set, hack … Merge #3204 3204: [mtl] update… (compare)

  • 16:51

    bors[bot] on staging.tmp

    [mtl] update feature set, hack … [ci skip][skip ci][skip netlify… (compare)

  • 16:51

    bors[bot] on staging.tmp

    [ci skip][skip ci][skip netlify] (compare)

  • 16:50
    kvark commented #3204
  • 16:49
    kvark opened #3204
  • 15:27
    kvark labeled #3203
  • 15:27
    kvark labeled #3203
  • 15:27
    kvark labeled #3203
  • 15:27
    kvark labeled #3203
Brendan Zabarauskas
@brendanzab
Portland/Melbourne are more my style
The SF office is super cool though with all the smart folks around - it's really awesome in that way
Coraline Sherratt
@removed~csherratt
I have quite a bit of respect for Mozilla. They do more R&D then I have seen out of companies 10 times their size.
Brendan Zabarauskas
@brendanzab
@kvark doing some docs on your shader stuff
Dzmitry Malyshau
@kvark
@bjz awesome, thanks man!
any luck with a hackaton?
kvark @kvark wonders if he actually saw @bjz on the camera...
Brendan Zabarauskas
@brendanzab
I was at the back
on a couch
grey shirt, orange/brown pants
Dzmitry Malyshau
@kvark
@bjz near @erickt?
Brendan Zabarauskas
@brendanzab
yup
Dzmitry Malyshau
@kvark
ah, ok, that young guy :)
Brendan Zabarauskas
@brendanzab
with a mac, facing the camera
hehe, yup
Dzmitry Malyshau
@kvark
@bjz has anyone actually got the spinning triangle?
Brendan Zabarauskas
@brendanzab
yes! erickt and a few others did
Dzmitry Malyshau
@kvark
did they use bare gl-rs? or hgl-rs?
Brendan Zabarauskas
@brendanzab
I was mainly just helping out with cgmath and stuff
hgl
Dzmitry Malyshau
@kvark
was @cmr there too?
Coraline Sherratt
@removed~csherratt
bjz, did you see common traps people were falling into?
Dzmitry Malyshau
@kvark
@csherratt @bjz has anyone looked at #24 ?
Brendan Zabarauskas
@brendanzab
What about a lookup table?
Dzmitry Malyshau
@kvark
@bjz lookup table of strings? will suffer from the same data cache miss
Coraline Sherratt
@removed~csherratt
I was going to suggest std::str::MaybeOwned, but that is 32 bytes...
Brendan Zabarauskas
@brendanzab
@kvark yeah :(
Coraline Sherratt
@removed~csherratt
How often do we actually need the uniform name? Can we 'link' the pipeline and avoid the names all togather?
Brendan Zabarauskas
@brendanzab
@csherratt you mean build up a pipeline once, then reuse it?
@csherratt like Metal?
@kvark what does storage+2-gl::FLOAT_VEC2 do?
Dzmitry Malyshau
@kvark
@csherratt sure, we can match the input-outputs and store just indices, but this caching spawns more questions than it solves
@bjz it's the number at the end of the definition: FLOAT_VEC? (2,3,4)
which is the number of components that we extract from it
Brendan Zabarauskas
@brendanzab
why do you need the formula?
Dzmitry Malyshau
@kvark
to do it in one case instead of 3
Brendan Zabarauskas
@brendanzab
I think in this case it might be clearer to do multiple cases
Dzmitry Malyshau
@kvark
gonna be bulky
ok, bbl
Brendan Zabarauskas
@brendanzab
o/
Coraline Sherratt
@removed~csherratt
bjz, I think your symbol table is actually a great idea.
If every string in the pipeline that is the same always points to the same memory address, we can avoid the cache miss in the case for a string compare. Pointer A == Pointer B, no point in comparing their content.
This is also 8 bytes, vs 24 that @kvark has proposed.
Brendan Zabarauskas
@brendanzab
these cached pipelines would be immutable?
like, once you commit to building them, you can't alter them?
Coraline Sherratt
@removed~csherratt
I meant gfx-rs as a pipeline, not any one object in the pipeline.
Brendan Zabarauskas
@brendanzab
ah ok
Coraline Sherratt
@removed~csherratt
I think this might be preemptive, but if we place everything behind a type that looks feels and acts like a String. We can play with optimizing it via inline strings like @kvark has proposed or some other mechanism.
Brendan Zabarauskas
@brendanzab
@csherratt what would be your transition plan in terms of moving snowmew to gfx-rs?
oh, btw - tried an oculus rift today - not with Rust, just the bundled demo.... <3 <3 awesome