A couple of fixes to the GL_QCOM_image_processing2 support (#3578)
1) handle the extension requirements of GL_QCOM_image_processing2 correctly 2) add QCOM image processing decorations to ids only once.
This commit is contained in:
parent
b9b8fd917b
commit
a4f870053f
8 changed files with 35 additions and 10 deletions
|
|
@ -1,17 +1,19 @@
|
|||
spv.tpipBlockMatchGatherSAD.frag
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 72
|
||||
|
||||
Capability Shader
|
||||
Capability Bad
|
||||
Capability TextureBlockMatchQCOM
|
||||
Capability TextureBlockMatch2QCOM
|
||||
Extension "SPV_QCOM_image_processing"
|
||||
Extension "SPV_QCOM_image_processing2"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 13 41
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_QCOM_image_processing"
|
||||
SourceExtension "GL_QCOM_image_processing2"
|
||||
Name 4 "main"
|
||||
Name 9 "tgt_coords"
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
spv.tpipBlockMatchGatherSSD.frag
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 72
|
||||
|
||||
Capability Shader
|
||||
Capability Bad
|
||||
Capability TextureBlockMatchQCOM
|
||||
Capability TextureBlockMatch2QCOM
|
||||
Extension "SPV_QCOM_image_processing"
|
||||
Extension "SPV_QCOM_image_processing2"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 13 41
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_QCOM_image_processing"
|
||||
SourceExtension "GL_QCOM_image_processing2"
|
||||
Name 4 "main"
|
||||
Name 9 "tgt_coords"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Validation failed
|
|||
|
||||
Capability Shader
|
||||
Capability TextureBlockMatchQCOM
|
||||
Capability Bad
|
||||
Capability TextureBlockMatch2QCOM
|
||||
Extension "SPV_QCOM_image_processing"
|
||||
Extension "SPV_QCOM_image_processing2"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
|
|
@ -39,7 +39,6 @@ Validation failed
|
|||
Decorate 44(tex2D_src1) DecorationBlockMatchTextureQCOM
|
||||
Decorate 48(samp) DecorationBlockMatchSamplerQCOM
|
||||
Decorate 53(tex2D_src2) DecorationBlockMatchTextureQCOM
|
||||
Decorate 48(samp) DecorationBlockMatchSamplerQCOM
|
||||
Decorate 61(target_samp) DescriptorSet 0
|
||||
Decorate 61(target_samp) Binding 4
|
||||
Decorate 64(ref_samp) DescriptorSet 0
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Validation failed
|
|||
|
||||
Capability Shader
|
||||
Capability TextureBlockMatchQCOM
|
||||
Capability Bad
|
||||
Capability TextureBlockMatch2QCOM
|
||||
Extension "SPV_QCOM_image_processing"
|
||||
Extension "SPV_QCOM_image_processing2"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
|
|
@ -39,7 +39,6 @@ Validation failed
|
|||
Decorate 44(tex2D_src1) DecorationBlockMatchTextureQCOM
|
||||
Decorate 48(samp) DecorationBlockMatchSamplerQCOM
|
||||
Decorate 53(tex2D_src2) DecorationBlockMatchTextureQCOM
|
||||
Decorate 48(samp) DecorationBlockMatchSamplerQCOM
|
||||
Decorate 61(target_samp) DescriptorSet 0
|
||||
Decorate 61(target_samp) Binding 4
|
||||
Decorate 64(ref_samp) DescriptorSet 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#version 450
|
||||
#extension GL_QCOM_image_processing : require
|
||||
#extension GL_QCOM_image_processing2 : require
|
||||
|
||||
precision highp float;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#version 450
|
||||
#extension GL_QCOM_image_processing : require
|
||||
#extension GL_QCOM_image_processing2 : require
|
||||
|
||||
precision highp float;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue