vkd3d-shader/fx: Add "child-effect" compilation option.
4 unresolved threads
4 unresolved threads
Merge request reports
Activity
-
case HLSL_TYPE_PIXELSHADER:
-
case HLSL_TYPE_VERTEXSHADER:
-
/* FIXME: write shader blobs, once parser support works. */
-
for (i = 0; i < elements_count; ++i)
-
put_u32(buffer, 0);
-
++fx->shader_variable_count;
-
break;
We shouldn't be returning success if we're not going to output correct shader code.
The lack of tests here is also concerning.
-
This is now adjusted to have a new top level option.
Edited by Nikolay Sivov
added 17 commits
-
5e4c60fa...8723b5d2 - 14 commits from branch
wine:master
- 5819d288 - vkd3d-shader/fx: Add initial support for writing uninitialized vertex/pixel shader objects.
- 395a7490 - vkd3d-shader: Add an option to enable child effects compilation.
- 8f84ef28 - vkd3d-shader/fx: Add support for writing shared object descriptions for fx_4_x.
Toggle commit list-
5e4c60fa...8723b5d2 - 14 commits from branch
added 31 commits
-
8f84ef28...23259263 - 28 commits from branch
wine:master
- fc0d4039 - vkd3d-shader/fx: Add initial support for writing uninitialized vertex/pixel shader objects.
- 66d30856 - vkd3d-shader: Add an option to enable child effects compilation.
- 795be151 - vkd3d-shader/fx: Add support for writing shared object descriptions for fx_4_x.
Toggle commit list-
8f84ef28...23259263 - 28 commits from branch
324 static const char * get_fx_4_type_name(const struct hlsl_type *type) 324 325 { 325 struct vkd3d_bytecode_buffer *buffer = &fx->unstructured; 326 uint32_t name_offset, offset, size, stride, numeric_desc; 327 uint32_t elements_count = 0; 328 const char *name; 329 static const uint32_t variable_type[] = 326 static const char * const object_type_names[] = 330 327 { 331 [HLSL_CLASS_SCALAR] = 1, 332 [HLSL_CLASS_VECTOR] = 1, 333 [HLSL_CLASS_MATRIX] = 1, 334 [HLSL_CLASS_OBJECT] = 2, 335 [HLSL_CLASS_STRUCT] = 3, 328 [HLSL_TYPE_RENDERTARGETVIEW] = "RenderTargetView", 329 [HLSL_TYPE_DEPTHSTENCILVIEW] = "DepthStencilView", added 34 commits
-
795be151...03a80cde - 31 commits from branch
wine:master
- 719fbbac - vkd3d-shader/fx: Add initial support for writing uninitialized vertex/pixel shader objects.
- 20a3add4 - vkd3d-shader: Add an option to enable child effects compilation.
- 0c2511ec - vkd3d-shader/fx: Add support for writing shared object descriptions for fx_4_x.
Toggle commit list-
795be151...03a80cde - 31 commits from branch
Please register or sign in to reply