mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Store the matrix majority as a type modifiers bitmask.
This commit is contained in:
committed by
Alexandre Julliard
parent
b3c620954b
commit
75ab9d31ef
Notes:
Alexandre Julliard
2023-02-28 22:10:58 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/102
@@ -116,12 +116,6 @@ enum hlsl_sampler_dim
|
||||
HLSL_SAMPLER_DIM_MAX = HLSL_SAMPLER_DIM_CUBEARRAY,
|
||||
};
|
||||
|
||||
enum hlsl_matrix_majority
|
||||
{
|
||||
HLSL_COLUMN_MAJOR,
|
||||
HLSL_ROW_MAJOR
|
||||
};
|
||||
|
||||
enum hlsl_regset
|
||||
{
|
||||
HLSL_REGSET_SAMPLERS,
|
||||
@@ -735,7 +729,7 @@ struct hlsl_ctx
|
||||
const struct hlsl_ir_function_decl *cur_function;
|
||||
|
||||
/* Default matrix majority for matrix types. Can be set by a pragma within the HLSL source. */
|
||||
enum hlsl_matrix_majority matrix_majority;
|
||||
unsigned int matrix_majority;
|
||||
|
||||
/* Basic data types stored for convenience. */
|
||||
struct
|
||||
|
||||
Reference in New Issue
Block a user