SPIR-V: Remove GenericPointer capability requirement
This commit is contained in:
parent
367742ee54
commit
036df2ce12
|
@ -50,7 +50,6 @@ void SpirvShaderTranslator::StartTranslation() {
|
||||||
b.setMemoryModel(spv::AddressingModel::AddressingModelLogical,
|
b.setMemoryModel(spv::AddressingModel::AddressingModelLogical,
|
||||||
spv::MemoryModel::MemoryModelGLSL450);
|
spv::MemoryModel::MemoryModelGLSL450);
|
||||||
b.addCapability(spv::Capability::CapabilityShader);
|
b.addCapability(spv::Capability::CapabilityShader);
|
||||||
b.addCapability(spv::Capability::CapabilityGenericPointer);
|
|
||||||
b.addCapability(spv::Capability::CapabilityImageQuery);
|
b.addCapability(spv::Capability::CapabilityImageQuery);
|
||||||
|
|
||||||
if (is_vertex_shader()) {
|
if (is_vertex_shader()) {
|
||||||
|
|
Loading…
Reference in New Issue