Implement Specialization Constants
* Added support to our local copy of SpirV Reflect (which does not support it). * Pass them on render or compute pipeline creation. * Not implemented in our shaders yet.
This commit is contained in:
parent
fb3961b2ef
commit
b2f6db7aa8
12 changed files with 789 additions and 16 deletions
19
doc/classes/RDPipelineSpecializationConstant.xml
Normal file
19
doc/classes/RDPipelineSpecializationConstant.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="RDPipelineSpecializationConstant" inherits="RefCounted" version="4.0">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="constant_id" type="int" setter="set_constant_id" getter="get_constant_id" default="0">
|
||||
</member>
|
||||
<member name="value" type="Variant" setter="set_value" getter="get_value">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue