|
@@ -3405,10 +3405,10 @@ BGFX_C_API void bgfx_set_image_from_frame_buffer(uint8_t _stage, bgfx_uniform_ha
|
|
|
bgfx::setImage(_stage, sampler.cpp, handle.cpp, _attachment, bgfx::TextureFormat::Enum(_format), bgfx::Access::Enum(_access) );
|
|
bgfx::setImage(_stage, sampler.cpp, handle.cpp, _attachment, bgfx::TextureFormat::Enum(_format), bgfx::Access::Enum(_access) );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-BGFX_C_API void bgfx_dispatch(uint8_t _id, bgfx_program_handle_t _handle, uint16_t _numX, uint16_t _numY, uint16_t _numZ)
|
|
|
|
|
|
|
+BGFX_C_API void bgfx_dispatch(uint8_t _id, bgfx_program_handle_t _handle, uint16_t _numX, uint16_t _numY, uint16_t _numZ, uint8_t _flags)
|
|
|
{
|
|
{
|
|
|
union { bgfx_program_handle_t c; bgfx::ProgramHandle cpp; } handle = { _handle };
|
|
union { bgfx_program_handle_t c; bgfx::ProgramHandle cpp; } handle = { _handle };
|
|
|
- bgfx::dispatch(_id, handle.cpp, _numX, _numY, _numZ);
|
|
|
|
|
|
|
+ bgfx::dispatch(_id, handle.cpp, _numX, _numY, _numZ, _flags);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
BGFX_C_API void bgfx_discard()
|
|
BGFX_C_API void bgfx_discard()
|