mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Allow mutable commands to be recorded into CS chunks
This commit is contained in:
parent
39dd25e972
commit
6e8598846d
@ -47,7 +47,7 @@ namespace dxvk {
|
||||
* \brief Executes embedded commands
|
||||
* \param [in] ctx The target context
|
||||
*/
|
||||
virtual void exec(DxvkContext* ctx) const = 0;
|
||||
virtual void exec(DxvkContext* ctx) = 0;
|
||||
|
||||
private:
|
||||
|
||||
@ -73,7 +73,7 @@ namespace dxvk {
|
||||
DxvkCsTypedCmd (DxvkCsTypedCmd&&) = delete;
|
||||
DxvkCsTypedCmd& operator = (DxvkCsTypedCmd&&) = delete;
|
||||
|
||||
void exec(DxvkContext* ctx) const {
|
||||
void exec(DxvkContext* ctx) {
|
||||
m_command(ctx);
|
||||
}
|
||||
|
||||
@ -104,7 +104,7 @@ namespace dxvk {
|
||||
DxvkCsDataCmd (DxvkCsDataCmd&&) = delete;
|
||||
DxvkCsDataCmd& operator = (DxvkCsDataCmd&&) = delete;
|
||||
|
||||
void exec(DxvkContext* ctx) const {
|
||||
void exec(DxvkContext* ctx) {
|
||||
m_command(ctx, &m_data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user