Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-08-01 16:24:48 +0300
committerJeroen Bakker <jeroen@blender.org>2022-08-01 16:24:48 +0300
commit577a2a5dbe8a9d73b48bdc106ccd6d833bede4cc (patch)
treeba8361fddd9104903708d539a59e5e1cec373377 /source/blender/gpu
parente0603f77afb1cdf1c72c136c0749e088341d7db5 (diff)
parentf08ea76db591a1ca60715f19f3465da57b26f64e (diff)
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/tests/gpu_shader_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/tests/gpu_shader_test.cc b/source/blender/gpu/tests/gpu_shader_test.cc
index adb9b059fc6..ab1409dfcde 100644
--- a/source/blender/gpu/tests/gpu_shader_test.cc
+++ b/source/blender/gpu/tests/gpu_shader_test.cc
@@ -48,7 +48,7 @@ void main() {
/* Create texture to store result and attach to shader. */
GPUTexture *texture = GPU_texture_create_2d(
- "gpu_shader_compute_2d", SIZE, SIZE, 0, GPU_RGBA32F, nullptr);
+ "gpu_shader_compute_2d", SIZE, SIZE, 1, GPU_RGBA32F, nullptr);
EXPECT_NE(texture, nullptr);
GPU_shader_bind(shader);
@@ -109,7 +109,7 @@ void main() {
/* Construct Texture. */
GPUTexture *texture = GPU_texture_create_1d(
- "gpu_shader_compute_1d", SIZE, 0, GPU_RGBA32F, nullptr);
+ "gpu_shader_compute_1d", SIZE, 1, GPU_RGBA32F, nullptr);
EXPECT_NE(texture, nullptr);
GPU_shader_bind(shader);