Displaying 1 result from an estimated 1 matches for "fetched_location".
2013 Jul 23
1
[Bug 67215] New: UBO access seems to mask address on nouveau
...uniform block offsets, but not for uniform buffer offsets.
eg:
u16 uniform_block_offset_per_variable; // hard coded in shader
u32 uniform_buffer_offset_per_uniform_block; // set by glBindBufferRange
u8* uniform_buffer_base; // location of this uniform buffer
// The way I think it's done:
u8* fetched_location = uniform_buffer_base +
u16(uniform_buffer_offset_per_uniform_block +
uniform_block_offset_per_variable);
// The correct way:
u8* fetched_location = uniform_buffer_base +
uniform_buffer_offset_per_uniform_block +
u32(uniform_block_offset_per_variable);
--
You are receiving this mail because:
You...