diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-18 21:43:01 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-18 21:43:01 +0000 |
| commit | 310cccb9cf7752caf3ff99dd9c208601c173bfd8 (patch) | |
| tree | 1ef888b5a849b672a7c24e83bedaa870d164c0d6 /Tests/TestApp | |
| parent | Fixed some GLES shader issues (diff) | |
| download | DiligentEngine-310cccb9cf7752caf3ff99dd9c208601c173bfd8.tar.gz DiligentEngine-310cccb9cf7752caf3ff99dd9c208601c173bfd8.zip | |
Reduced size of the compute shader group to 128 to avoid error on some GLES devices
Diffstat (limited to 'Tests/TestApp')
| -rw-r--r-- | Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh | 2 | ||||
| -rw-r--r-- | Tests/TestApp/assets/TestComputeShaders.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh b/Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh index 074671d..0459cc1 100644 --- a/Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh +++ b/Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh @@ -1,7 +1,7 @@ layout(rgba8, binding = 2) uniform writeonly image2D g_tex2DTestUAV; -layout (local_size_x = 16, local_size_y = 16, local_size_z = 1) in; +layout (local_size_x = 16, local_size_y = 8, local_size_z = 1) in; // Declare main program function which is executed once // glDispatchCompute is called from the application. diff --git a/Tests/TestApp/assets/TestComputeShaders.lua b/Tests/TestApp/assets/TestComputeShaders.lua index 327f4e3..a78da5a 100644 --- a/Tests/TestApp/assets/TestComputeShaders.lua +++ b/Tests/TestApp/assets/TestComputeShaders.lua @@ -1,7 +1,7 @@ -- Compute shader test script ThreadGroupSizeX = 16 -ThreadGroupSizeY = 16 +ThreadGroupSizeY = 8 TestTexture = Texture.Create{ Name = "Compute Shader Test Texture", |
