vkd3d/libs/vkd3d-shader
Zebediah Figura 0e3377a1be vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type.
As the diffstat shows, HLSL_CLASS_OBJECT does not really have much in common.
Resource types (TEXTURE, SAMPLER, UAV) sometimes behave similarly to each other,
but do not generally behave similarly to effect-specific types (string, shader,
state, view). Most consumers of HLSL_CLASS_OBJECT subsequently check the base
type anyway.

Hence we want to replace HLSL_TYPE_* with individual classes for object types.
As a first step, change the last few places that only check HLSL_CLASS_OBJECT.
2024-04-09 12:27:55 -05:00
..
checksum.c vkd3d-shader: Introduce vkd3d_make_u{16, 32}() helpers. 2021-08-11 20:58:24 +02:00
d3d_asm.c vkd3d-shader/dxil: Implement the DXIL ATOMICRMW instruction. 2024-03-27 22:36:59 +01:00
d3dbc.c vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type. 2024-04-09 12:27:55 -05:00
dxbc.c vkd3d-shader: Move shader signatures to vsir_program. 2024-03-11 22:09:31 +01:00
dxil.c vkd3d-shader/dxil: Support constexpr GEP. 2024-04-09 12:27:26 -05:00
fx.c vkd3d-shader/fx: Add an option to include empty buffers in the effect binary. 2024-04-02 23:10:42 +02:00
glsl.c vkd3d-shader/glsl: Keep track of the current indentation level. 2024-03-18 23:07:52 +01:00
hlsl_codegen.c vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type. 2024-04-09 12:27:55 -05:00
hlsl_constant_ops.c vkd3d-shader/hlsl: Ensure that TERNARY condition is always bool. 2024-04-09 12:26:59 -05:00
hlsl.c vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type. 2024-04-09 12:27:55 -05:00
hlsl.h vkd3d-shader/hlsl: Move shader version helpers to hlsl.h. 2024-04-09 12:27:43 -05:00
hlsl.l vkd3d-shader/hlsl: Allow 'export' modifier on functions. 2024-04-03 22:24:15 +02:00
hlsl.y vkd3d-shader/hlsl: Use hlsl_type_is_resource() for unbounded array checks. 2024-04-09 12:27:51 -05:00
ir.c vkd3d-shader/ir: Materialise SSAs to temps before lowering switch instructions. 2024-04-09 12:27:20 -05:00
libvkd3d-shader.pc.in build: Build libvkd3d-shader as public library. 2018-11-02 11:19:00 +01:00
preproc.h build: Make the default symbol visibility "hidden". 2021-08-09 21:43:22 +02:00
preproc.l vkd3d-shader/preproc: Append spaces between tokens in macro invocations. 2023-08-02 20:19:21 +09:00
preproc.y vkd3d-shader/hlsl: Handle over/underflow when parsing integer literals. 2022-05-12 19:33:56 +02:00
spirv.c vkd3d-shader/spirv: Ensure the data register is UINT in spirv_compiler_emit_store_tgsm(). 2024-04-09 12:27:30 -05:00
tpf.c vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type. 2024-04-09 12:27:55 -05:00
vkd3d_shader_main.c vkd3d-shader/ir: Dump the reconstructed structured program. 2024-03-14 22:48:53 +01:00
vkd3d_shader_private.h vkd3d-shader/dxil: Implement the DXIL ATOMICRMW instruction. 2024-03-27 22:36:59 +01:00
vkd3d_shader.map vkd3d-shader: Implement scanning combined resource/sampler information. 2023-11-13 23:19:23 +01:00