spirv: Revert some change
This commit is contained in:
parent
a8c4f4450c
commit
eb306bb9a4
|
@ -329,7 +329,7 @@ void EmitContext::DefinePushDataBlock() {
|
||||||
void EmitContext::DefineBuffers() {
|
void EmitContext::DefineBuffers() {
|
||||||
boost::container::small_vector<Id, 8> type_ids;
|
boost::container::small_vector<Id, 8> type_ids;
|
||||||
for (u32 i = 0; const auto& buffer : info.buffers) {
|
for (u32 i = 0; const auto& buffer : info.buffers) {
|
||||||
const auto* data_types = &F32; /*True(buffer.used_types & IR::Type::F32) ? &F32 : &U32;*/
|
const auto* data_types = True(buffer.used_types & IR::Type::F32) ? &F32 : &U32;
|
||||||
const Id data_type = (*data_types)[1];
|
const Id data_type = (*data_types)[1];
|
||||||
const Id record_array_type{buffer.is_storage
|
const Id record_array_type{buffer.is_storage
|
||||||
? TypeRuntimeArray(data_type)
|
? TypeRuntimeArray(data_type)
|
||||||
|
|
Loading…
Reference in New Issue