gallium: use gl shader types as the basis for the gallium ones

This should enable a rename transistion.

Trace needs to swap over to a non-generated version, but that should be fine.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17747>
This commit is contained in:
Dave Airlie
2022-07-26 13:39:00 +10:00
committed by Marge Bot
parent 9edd861eb1
commit 0bb03ffc76
4 changed files with 16 additions and 15 deletions
+2 -13
View File
@@ -30,6 +30,8 @@
#include "p_compiler.h"
#include "compiler/shader_enums.h"
#ifdef __cplusplus
extern "C" {
#endif
@@ -546,19 +548,6 @@ enum pipe_resource_usage {
PIPE_USAGE_STAGING, /* fast CPU access */
};
/**
* Shaders
*/
enum pipe_shader_type {
PIPE_SHADER_VERTEX,
PIPE_SHADER_TESS_CTRL,
PIPE_SHADER_TESS_EVAL,
PIPE_SHADER_GEOMETRY,
PIPE_SHADER_FRAGMENT,
PIPE_SHADER_COMPUTE,
PIPE_SHADER_TYPES,
};
/**
* Primitive types:
*/