mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 19:24:11 +01:00
[spirv] Add OpConstantNull
This commit is contained in:
parent
3a6992ea97
commit
707ad6f328
@ -470,6 +470,13 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::constNull(
|
||||
uint32_t typeId) {
|
||||
return this->defConst(spv::OpConstantNull,
|
||||
typeId, 0, nullptr);
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::lateConst32(
|
||||
uint32_t typeId) {
|
||||
uint32_t resultId = this->allocateId();
|
||||
|
@ -217,6 +217,9 @@ namespace dxvk {
|
||||
uint32_t constUndef(
|
||||
uint32_t typeId);
|
||||
|
||||
uint32_t constNull(
|
||||
uint32_t typeId);
|
||||
|
||||
uint32_t lateConst32(
|
||||
uint32_t typeId);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user