|
@@ -228,7 +228,7 @@ public:
|
228
|
228
|
texDesc.mipmapLevels = 1;
|
229
|
229
|
texDesc.sampleCount = 1;
|
230
|
230
|
texDesc.arrayLength = 1;
|
231
|
|
- texDesc.usage = DKTexture::UsageCopyDestination | DKTexture::UsageSampled;
|
|
231
|
+ texDesc.usage = DKTexture::UsageStorage | DKTexture::UsageShaderRead | DKTexture::UsageCopyDestination | DKTexture::UsageSampled;
|
232
|
232
|
DKObject<DKTexture> tex = device->CreateTexture(texDesc);
|
233
|
233
|
if (tex)
|
234
|
234
|
{
|