|
Blender V4.3
|
Public Member Functions | |
| void | init_ssbo (size_t num_floats) |
| ~CallData () | |
| void | generate_test_data (const float vector_mul, const float scalar_mul) |
| void | read_back () |
| void | validate () |
Public Attributes | |
| GPUStorageBuf * | ssbo = nullptr |
| Vector< float > | data |
| float | float_in |
| float2 | vec2_in |
| float3 | vec3_in |
| float4 | vec4_in |
Definition at line 19 of file push_constants_test.cc.
|
inline |
Definition at line 37 of file push_constants_test.cc.
References GPU_storagebuf_free(), and ssbo.
|
inline |
Definition at line 45 of file push_constants_test.cc.
References float_in, vec2_in, vec3_in, and vec4_in.
Referenced by blender::gpu::tests::do_push_constants_test().
|
inline |
Definition at line 28 of file push_constants_test.cc.
References GPU_storagebuf_create_ex(), GPU_USAGE_DEVICE_ONLY, and ssbo.
Referenced by blender::gpu::tests::do_push_constants_test().
|
inline |
Definition at line 57 of file push_constants_test.cc.
References GPU_BARRIER_SHADER_STORAGE, GPU_memory_barrier(), GPU_storagebuf_read(), and ssbo.
Referenced by blender::gpu::tests::do_push_constants_test().
|
inline |
Definition at line 63 of file push_constants_test.cc.
References EXPECT_EQ(), float_in, vec2_in, vec3_in, and vec4_in.
Referenced by blender::gpu::tests::do_push_constants_test().
Definition at line 21 of file push_constants_test.cc.
| float blender::gpu::tests::CallData::float_in |
Definition at line 23 of file push_constants_test.cc.
Referenced by generate_test_data(), blender::gpu::tests::Shader::update_push_constants(), and validate().
| GPUStorageBuf* blender::gpu::tests::CallData::ssbo = nullptr |
Definition at line 20 of file push_constants_test.cc.
Referenced by blender::gpu::tests::Shader::bind(), init_ssbo(), read_back(), and ~CallData().
| float2 blender::gpu::tests::CallData::vec2_in |
Definition at line 24 of file push_constants_test.cc.
Referenced by generate_test_data(), blender::gpu::tests::Shader::update_push_constants(), and validate().
| float3 blender::gpu::tests::CallData::vec3_in |
Definition at line 25 of file push_constants_test.cc.
Referenced by generate_test_data(), blender::gpu::tests::Shader::update_push_constants(), and validate().
| float4 blender::gpu::tests::CallData::vec4_in |
Definition at line 26 of file push_constants_test.cc.
Referenced by generate_test_data(), blender::gpu::tests::Shader::update_push_constants(), and validate().