These are chat archives for bjz/gfx-rs
UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADERto the array in
query_blocks, where the other definitions are (search for
pub static UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum = 0x8A44;is generating for me
UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADERis generated. You are correct though that gfx-rs is not needed to repro it :)
pub struct UniformVar(u8)instead of
pub type UniformVar = u8
set_uniform) a float. We can solve it by verifying (perhaps, in debug only) that reassigning a uniform doesn't change it's sub-type.
UniformValuesize... what do you think if we switch the matrix (and potential arrays) to boxed? It does make sense for arrays, and would minimize matrix copying costs.
Box<[[f32, ..4], ..4]>:(
envir::Storageprivate field, then embed it into every variable that is generated by it. Assuming they are unique, we can
debug_assert!on the attempt to use variables from different environments. I can see
std::time::get_time, and we can start with that, then switch to something more reliable, if needed
let t = box [[0, ..3], ..3];
error: obsolete syntax:
~[T]is no longer a type
let x: T = box () ([[1, 2, 3], [1, 2, 3], [1, 2, 3]]);
Box<[[int, ..4], ..4]>) without enumerating all the fields?
storage: &envir::Storage, shortcut: &envir::Shortcut
ProgramMeta. See the
glfw.window_hint(glfw::OpenglProfile(glfw::OpenGlCoreProfile)); glfw.window_hint(glfw::OpenglForwardCompat(true)); glfw.window_hint(glfw::Visible(false)); glfw.window_hint(glfw::DepthBits(24)); glfw.window_hint(glfw::StencilBits(8)); glfw.window_hint(glfw::Decorated(false));
device::Clientand forcing the platform-dependent part to implement
device::Serverwill help a lot. We can also move the device task into its own crate (#38).