|
@@ -85,7 +85,7 @@ public:
|
85
|
85
|
texDesc.mipmapLevels = 1;
|
86
|
86
|
texDesc.sampleCount = 1;
|
87
|
87
|
texDesc.arrayLength = 1;
|
88
|
|
- texDesc.usage = DKTexture::UsageShaderRead | DKTexture::UsageShaderWrite | DKTexture::UsageSampled;
|
|
88
|
+ texDesc.usage = DKTexture::UsageShaderRead | DKTexture::UsageStorage | DKTexture::UsageSampled;
|
89
|
89
|
textureTarget = device->CreateTexture(texDesc);
|
90
|
90
|
}
|
91
|
91
|
|