From 310cccb9cf7752caf3ff99dd9c208601c173bfd8 Mon Sep 17 00:00:00 2001 From: Egor Date: Sun, 18 Feb 2018 13:43:01 -0800 Subject: Reduced size of the compute shader group to 128 to avoid error on some GLES devices --- Tests/TestApp/assets/Shaders/CSTest/FillTextureGL.csh | 2 +- Tests/TestApp/assets/TestComputeShaders.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp') 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", -- cgit v1.2.3