Front-end ESSL: require precision declarations for images.
This commit is contained in:
@@ -17,6 +17,8 @@ ERROR: 0:61: 'assign' : l-value required "ro" (can't modify a readonly buffer)
|
||||
ERROR: 0:66: 'buffer' : buffers can be declared only as blocks
|
||||
ERROR: 0:68: 'sampler/image' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:76: '' : image variables not declared 'writeonly' must have a format layout qualifier
|
||||
ERROR: 0:81: 'sampler/image' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:82: 'sampler/image' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:87: 'imageAtomicCompSwap' : required extension not requested: GL_OES_shader_image_atomic
|
||||
ERROR: 0:88: 'imageAtomicAdd' : required extension not requested: GL_OES_shader_image_atomic
|
||||
ERROR: 0:89: 'imageAtomicMin' : required extension not requested: GL_OES_shader_image_atomic
|
||||
@@ -79,7 +81,7 @@ ERROR: 0:227: 'input block' : not supported in this stage: compute
|
||||
ERROR: 0:231: 'output block' : not supported in this stage: compute
|
||||
WARNING: 0:235: 't__' : identifiers containing consecutive underscores ("__") are reserved
|
||||
WARNING: 0:238: '#define' : names containing consecutive underscores are reserved: __D
|
||||
ERROR: 77 compilation errors. No code generated.
|
||||
ERROR: 79 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 310
|
||||
@@ -143,7 +145,7 @@ ERROR: node is still EOpNull!
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:88 imageAtomicAdd (global highp uint)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform mediump uimage2D)
|
||||
0:88 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 'i' (temp highp int)
|
||||
@@ -177,7 +179,7 @@ ERROR: node is still EOpNull!
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:93 imageLoad (global highp 4-component vector of float)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform mediump image2D)
|
||||
0:93 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:93 'i' (temp highp int)
|
||||
@@ -467,14 +469,14 @@ ERROR: node is still EOpNull!
|
||||
0:? 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:? 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:? 'iimg2Drgba' (layout(rgba32i ) readonly uniform highp iimage2D)
|
||||
0:? 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:? 'img2Drgba' (layout(rgba32f ) readonly uniform mediump image2D)
|
||||
0:? 'uimg2D' (layout(r32ui ) uniform mediump uimage2D)
|
||||
0:? 'vol' (volatile temp highp float)
|
||||
0:? 'vol2' (readonly temp highp int)
|
||||
0:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
|
||||
0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
|
||||
0:? 'i1bad' (layout(rg8i ) readonly uniform highp uimage2D)
|
||||
0:? 'i2bad' (layout(rgba32i ) readonly uniform lowp image2D)
|
||||
0:? 'i2bad' (layout(rgba32i ) readonly uniform highp image2D)
|
||||
0:? 'i3bad' (layout(rgba32f ) readonly uniform highp uimage2D)
|
||||
0:? 'i4bad' (layout(r8_snorm ) readonly uniform highp iimage2D)
|
||||
0:? 'i5bad' (layout(rgba32ui ) readonly uniform highp iimage2D)
|
||||
@@ -489,13 +491,13 @@ ERROR: node is still EOpNull!
|
||||
0:? 'dm' (global 2X4 matrix of double)
|
||||
0:? 'sca' (uniform mediump samplerCubeArray)
|
||||
0:? 'i2dr' (uniform mediump iimage2DRect)
|
||||
0:? 'i2dms' (uniform lowp image2DMS)
|
||||
0:? 'i2dms' (uniform highp image2DMS)
|
||||
0:? 'u2dmsa' (uniform mediump uimage2DMSArray)
|
||||
0:? 'okay1' (layout(r32f ) coherent volatile restrict readonly writeonly uniform lowp image2D)
|
||||
0:? 'okay1' (layout(r32f ) coherent volatile restrict readonly writeonly uniform highp image2D)
|
||||
0:? 'okay2' (layout(r32i ) coherent volatile restrict readonly uniform highp iimage2D)
|
||||
0:? 'okay3' (layout(r32ui ) coherent volatile restrict writeonly uniform highp uimage2D)
|
||||
0:? 'okay4' (layout(r32f ) coherent volatile restrict uniform lowp image2D)
|
||||
0:? 'badQ1' (layout(rgba32f ) coherent volatile restrict uniform lowp image2D)
|
||||
0:? 'okay4' (layout(r32f ) coherent volatile restrict uniform highp image2D)
|
||||
0:? 'badQ1' (layout(rgba32f ) coherent volatile restrict uniform highp image2D)
|
||||
0:? 'badQ2' (layout(rgba8i ) coherent volatile restrict uniform highp iimage2D)
|
||||
0:? 'badQ3' (layout(rgba16ui ) coherent volatile restrict uniform highp uimage2D)
|
||||
0:? 'wo' (layout(column_major shared ) writeonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
|
||||
@@ -570,7 +572,7 @@ ERROR: node is still EOpNull!
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:88 imageAtomicAdd (global highp uint)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform mediump uimage2D)
|
||||
0:88 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 'i' (temp highp int)
|
||||
@@ -604,7 +606,7 @@ ERROR: node is still EOpNull!
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:93 imageLoad (global highp 4-component vector of float)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform mediump image2D)
|
||||
0:93 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:93 'i' (temp highp int)
|
||||
@@ -894,14 +896,14 @@ ERROR: node is still EOpNull!
|
||||
0:? 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:? 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:? 'iimg2Drgba' (layout(rgba32i ) readonly uniform highp iimage2D)
|
||||
0:? 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:? 'img2Drgba' (layout(rgba32f ) readonly uniform mediump image2D)
|
||||
0:? 'uimg2D' (layout(r32ui ) uniform mediump uimage2D)
|
||||
0:? 'vol' (volatile temp highp float)
|
||||
0:? 'vol2' (readonly temp highp int)
|
||||
0:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
|
||||
0:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
|
||||
0:? 'i1bad' (layout(rg8i ) readonly uniform highp uimage2D)
|
||||
0:? 'i2bad' (layout(rgba32i ) readonly uniform lowp image2D)
|
||||
0:? 'i2bad' (layout(rgba32i ) readonly uniform highp image2D)
|
||||
0:? 'i3bad' (layout(rgba32f ) readonly uniform highp uimage2D)
|
||||
0:? 'i4bad' (layout(r8_snorm ) readonly uniform highp iimage2D)
|
||||
0:? 'i5bad' (layout(rgba32ui ) readonly uniform highp iimage2D)
|
||||
@@ -916,13 +918,13 @@ ERROR: node is still EOpNull!
|
||||
0:? 'dm' (global 2X4 matrix of double)
|
||||
0:? 'sca' (uniform mediump samplerCubeArray)
|
||||
0:? 'i2dr' (uniform mediump iimage2DRect)
|
||||
0:? 'i2dms' (uniform lowp image2DMS)
|
||||
0:? 'i2dms' (uniform highp image2DMS)
|
||||
0:? 'u2dmsa' (uniform mediump uimage2DMSArray)
|
||||
0:? 'okay1' (layout(r32f ) coherent volatile restrict readonly writeonly uniform lowp image2D)
|
||||
0:? 'okay1' (layout(r32f ) coherent volatile restrict readonly writeonly uniform highp image2D)
|
||||
0:? 'okay2' (layout(r32i ) coherent volatile restrict readonly uniform highp iimage2D)
|
||||
0:? 'okay3' (layout(r32ui ) coherent volatile restrict writeonly uniform highp uimage2D)
|
||||
0:? 'okay4' (layout(r32f ) coherent volatile restrict uniform lowp image2D)
|
||||
0:? 'badQ1' (layout(rgba32f ) coherent volatile restrict uniform lowp image2D)
|
||||
0:? 'okay4' (layout(r32f ) coherent volatile restrict uniform highp image2D)
|
||||
0:? 'badQ1' (layout(rgba32f ) coherent volatile restrict uniform highp image2D)
|
||||
0:? 'badQ2' (layout(rgba8i ) coherent volatile restrict uniform highp iimage2D)
|
||||
0:? 'badQ3' (layout(rgba16ui ) coherent volatile restrict uniform highp uimage2D)
|
||||
0:? 'wo' (layout(column_major shared ) writeonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
|
||||
|
||||
Reference in New Issue
Block a user