forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -37,7 +37,7 @@ GPU_SHADER_CREATE_INFO(draw_resource_id_uniform)
|
|||||||
* Requires draw_resource_id[_uniform].
|
* Requires draw_resource_id[_uniform].
|
||||||
*/
|
*/
|
||||||
GPU_SHADER_CREATE_INFO(draw_resource_handle)
|
GPU_SHADER_CREATE_INFO(draw_resource_handle)
|
||||||
.define("resource_handle (drw_resourceChunk * DRW_RESOURCE_CHUNK_LEN + resource_id)")
|
.define("resource_handle", "(drw_resourceChunk * DRW_RESOURCE_CHUNK_LEN + resource_id)")
|
||||||
.push_constant(Type::INT, "drw_resourceChunk");
|
.push_constant(Type::INT, "drw_resourceChunk");
|
||||||
|
|
||||||
/** \} */
|
/** \} */
|
||||||
|
Loading…
Reference in New Issue
Block a user