mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
fix regression
This commit is contained in:
@@ -151,9 +151,11 @@ static BufferView NativeStorageBuffer(uint64_t submit_id, CommandBuffer* command
|
|||||||
const ShaderBufferResource& descriptor,
|
const ShaderBufferResource& descriptor,
|
||||||
const ShaderRecompiler::IR::BufferResource& resource) {
|
const ShaderRecompiler::IR::BufferResource& resource) {
|
||||||
BufferView result;
|
BufferView result;
|
||||||
|
|
||||||
|
//Regression
|
||||||
// Bind a null buffer when these four dwords are
|
// Bind a null buffer when these four dwords are
|
||||||
// the tracked prefix of an active image sharp. Image validity is encoded by dword 3 bit 31.
|
// the tracked prefix of an active image sharp. Image validity is encoded by dword 3 bit 31.
|
||||||
if (resource.image_alias != ShaderRecompiler::IR::BufferResource::NoImageAlias &&
|
/*if (resource.image_alias != ShaderRecompiler::IR::BufferResource::NoImageAlias &&
|
||||||
(descriptor.Type() & 2u) != 0) {
|
(descriptor.Type() & 2u) != 0) {
|
||||||
BindNullStorageBuffer(command_buffer, &result);
|
BindNullStorageBuffer(command_buffer, &result);
|
||||||
return result;
|
return result;
|
||||||
@@ -201,7 +203,7 @@ static BufferView NativeStorageBuffer(uint64_t submit_id, CommandBuffer* command
|
|||||||
result.offset = binding.second;
|
result.offset = binding.second;
|
||||||
result.range = footprint.size;
|
result.range = footprint.size;
|
||||||
return result;
|
return result;
|
||||||
}
|
}*/
|
||||||
const auto address = descriptor.Base48();
|
const auto address = descriptor.Base48();
|
||||||
const auto stride = descriptor.Stride();
|
const auto stride = descriptor.Stride();
|
||||||
const auto records = descriptor.NumRecords();
|
const auto records = descriptor.NumRecords();
|
||||||
|
|||||||
Reference in New Issue
Block a user