mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Change DxvkImageView::formatInfo to return view format info
Makes more sense and won't break any existing code using it.
This commit is contained in:
parent
7895272806
commit
c29314de5a
@ -347,14 +347,6 @@ namespace dxvk {
|
||||
return m_image->info();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Image format info
|
||||
* \returns Image format info
|
||||
*/
|
||||
const DxvkFormatInfo* formatInfo() const {
|
||||
return m_image->formatInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Image object
|
||||
* \returns Image object
|
||||
@ -363,6 +355,14 @@ namespace dxvk {
|
||||
return m_image;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief View format info
|
||||
* \returns View format info
|
||||
*/
|
||||
const DxvkFormatInfo* formatInfo() const {
|
||||
return imageFormatInfo(m_info.format);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Mip level size
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user