Implement GL_OES_shader_multisample_interpolation, as well as core desktop versions of it.

This commit is contained in:
John Kessenich
2015-08-22 01:21:47 -06:00
parent ba01ebd5ba
commit 0fc4338f3e
17 changed files with 829 additions and 9 deletions

View File

@@ -90,7 +90,11 @@ ERROR: 0:318: 'sampler/image' : type requires declaration of default precision q
ERROR: 0:319: 'sampler/image' : type requires declaration of default precision qualifier
ERROR: 0:339: 'textureSize' : no matching overloaded function found
ERROR: 0:339: '=' : cannot convert from 'const float' to 'temp highp 3-component vector of int'
ERROR: 86 compilation errors. No code generated.
ERROR: 0:377: 'sample' : Reserved word.
ERROR: 0:388: 'interpolateAtCentroid' : no matching overloaded function found
ERROR: 0:389: 'interpolateAtSample' : no matching overloaded function found
ERROR: 0:390: 'interpolateAtOffset' : no matching overloaded function found
ERROR: 90 compilation errors. No code generated.
Shader version: 310
@@ -98,6 +102,7 @@ Requested GL_EXT_texture_buffer
Requested GL_OES_gpu_shader5
Requested GL_OES_shader_image_atomic
Requested GL_OES_shader_io_blocks
Requested GL_OES_shader_multisample_interpolation
Requested GL_OES_texture_buffer
Requested GL_OES_texture_cube_map_array
Requested GL_OES_texture_storage_multisample_2d_array
@@ -852,6 +857,15 @@ ERROR: node is still EOpNull!
0:374 Constant:
0:374 5 (const uint)
0:374 'datu' (temp highp uint)
0:386 Function Definition: badInterp( (global void)
0:386 Function Parameters:
0:388 Sequence
0:388 Constant:
0:388 0.000000
0:389 Constant:
0:389 0.000000
0:390 Constant:
0:390 0.000000
0:? Linker Objects
0:? 's' (shared highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
@@ -953,6 +967,11 @@ ERROR: node is still EOpNull!
0:? 'im2Du' (layout(r32ui ) uniform highp uimage2D)
0:? 'im2Di' (layout(r32i ) uniform highp iimage2D)
0:? 'P' (uniform highp 2-component vector of int)
0:? 'colorSampInBad' (smooth sample out highp 4-component vector of float)
0:? 'colorSample' (smooth sample out highp 4-component vector of float)
0:? 'colorfsi' (flat sample out highp 4-component vector of float)
0:? 'sampInArray' (smooth sample out 4-element array of highp 3-component vector of float)
0:? 'inv4' (in highp 4-component vector of float)
0:? 'gl_VertexID' (gl_VertexId highp int VertexId)
0:? 'gl_InstanceID' (gl_InstanceId highp int InstanceId)
@@ -965,6 +984,7 @@ Requested GL_EXT_texture_buffer
Requested GL_OES_gpu_shader5
Requested GL_OES_shader_image_atomic
Requested GL_OES_shader_io_blocks
Requested GL_OES_shader_multisample_interpolation
Requested GL_OES_texture_buffer
Requested GL_OES_texture_cube_map_array
Requested GL_OES_texture_storage_multisample_2d_array
@@ -1719,6 +1739,15 @@ ERROR: node is still EOpNull!
0:374 Constant:
0:374 5 (const uint)
0:374 'datu' (temp highp uint)
0:386 Function Definition: badInterp( (global void)
0:386 Function Parameters:
0:388 Sequence
0:388 Constant:
0:388 0.000000
0:389 Constant:
0:389 0.000000
0:390 Constant:
0:390 0.000000
0:? Linker Objects
0:? 's' (shared highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
@@ -1820,6 +1849,11 @@ ERROR: node is still EOpNull!
0:? 'im2Du' (layout(r32ui ) uniform highp uimage2D)
0:? 'im2Di' (layout(r32i ) uniform highp iimage2D)
0:? 'P' (uniform highp 2-component vector of int)
0:? 'colorSampInBad' (smooth sample out highp 4-component vector of float)
0:? 'colorSample' (smooth sample out highp 4-component vector of float)
0:? 'colorfsi' (flat sample out highp 4-component vector of float)
0:? 'sampInArray' (smooth sample out 4-element array of highp 3-component vector of float)
0:? 'inv4' (in highp 4-component vector of float)
0:? 'gl_VertexID' (gl_VertexId highp int VertexId)
0:? 'gl_InstanceID' (gl_InstanceId highp int InstanceId)