Jure Triglav jure
  • Joined on 2020-08-21
Jure Triglav pushed to add_ssbo_support_to_python_api at jure/blender 2024-10-26 10:54:20 +02:00
ed3614b79c Expose shared storage buffers in Python API
158f12db4d Cleanup: Document Sculpt PBVH debug_value usage
ce0b3d9820 Refactor: Move common code into small functions
0085ef0e59 Compositor: Increase Glare node max threshold
1ba6b74cdf Fix error freeing null pointer on exit for debug builds
Compare 10 commits »
Jure Triglav created branch add_ssbo_support_to_python_api in jure/blender 2024-10-26 10:54:20 +02:00
Jure Triglav commented on pull request blender/blender#114238 2023-11-23 14:32:45 +01:00
Initial exposure of compute dispatch and image store in Python API

Thank you for all the feedback, @fclem & @aras_p and especially @Jeroen-Bakker, who started the fire during a conversation at BCON and then also shaped the initial idea into something much more…

Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-20 09:24:21 +01:00
be32d2b691 Early return nullptr instead of an else conditional
b84a79fee2 Add index parameters for function descriptions
124f190c2c Update variable names in compute shader Python example
Compare 3 commits »
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-17 15:13:18 +01:00
2ddbf8ba9f Use """ and a Python code block, to indicate string source parameter
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-17 12:20:14 +01:00
4cf0fe1a1e Revert to using common_colormanagement_lib.glsl for compute_source
Jure Triglav commented on pull request blender/blender#114238 2023-11-16 23:17:55 +01:00
Initial exposure of compute dispatch and image store in Python API

I've changed the example and used the glsl code-block. I think it looks good, at least in the local docs build: ![Screenshot 2023-11-16 at 23.08.15.png](/attachments/e62d8eff-5e9e-46f7-ba62-7d1b3f…

Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-16 23:15:27 +01:00
5bfb8627d3 Initialize x,y,z of local_group_size and make y and z arguments optional
55a8cc3f40 Use a more appropriate shader example in the documentation, using a glsl code-block
ad4b73b9c1 Remove printf from shader.image()
4efdbf52cb Update example to use local_group_size
Compare 4 commits »
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-16 22:25:36 +01:00
4d607bfb93 Merge branch 'main' into compute_shaders_py
d3a2673cb8 Fix #102714: Interface Font Selection
83ce3ef0db Fix #72093: Collapse Wide Enum Lists to One Column
cb9b7eaa34 Build: fix macOS OpenImageDenoise 2.1 library not loading correctly
4d7274b7f4 Cleanup: Use C++ types for crazyspace deform storage
Compare 116 commits »
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 15:18:24 +01:00
f15a9daa1a Merge branch 'main' into compute_shaders_py
cb5f650a5a Merge branch 'blender-v4.0-release'
c688b03847 Fix (studio-reported) VSE prefetch process taking seconds to stop.
70074a7d46 Cleanup: Follow style guide in new math function, use std:: namespace
9bf673a37d Fix #114215: Scanfill sometimes fails to identify holes
Compare 23 commits »
Jure Triglav commented on pull request blender/blender#114238 2023-11-10 15:17:23 +01:00
Initial exposure of compute dispatch and image store in Python API

I've addressed all current feedback and removed the WIP tag. Whenever you get a chance @Jeroen-Bakker, @fclem, I would be very glad to go through another round of code review!

I've attached a…

Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 15:09:37 +01:00
0cc70a92ae Add support for setting local_group_size from the Python side
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 15:01:35 +01:00
09a39af15e Verify that group_(x,y,z)_len do not exceed platform capabilties
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 14:32:48 +01:00
af59fcb609 Add gpu.capabilities.max_work_group_size_get and gpu.capabilities.max_work_group_count_get
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 13:58:55 +01:00
1c81b8c23a Document texture formats for Python API docs
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 13:06:46 +01:00
b120d90a01 Remove barriers from example
8f254410e9 Remove barriers from external Python API
749a37e3bd Set up barriers internally within the gpu.compute.dispatch(). For the current implementation (image store only), that should remove the need to expose barriers in the Python API.
Compare 3 commits »
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-10 09:02:26 +01:00
70e7d44523 Use common_compute_lib.glsl for the compute_source
706139986a Merge branch 'main' into compute_shaders_py
e317831a82 Cycles: oneAPI: adjust reported device capabilities
7d375793bd Merge branch 'blender-v4.0-release'
360684d5a4 Fix #114047: Use correct collection during USD import
Compare 185 commits »
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-09 14:34:12 +01:00
eeaf62ac3b Update custom compute shader example with a description of the expected result
Jure Triglav pushed to compute_shaders_py at jure/blender 2023-11-04 00:41:08 +01:00
e3f084da57 Streamline example and add description of expected result
8add67f96a Add documentation for gpu.state.memory_barrier
Compare 2 commits »