mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
vk: Add generated header for HSW and IVB (GEN75 and GEN7)
This commit is contained in:
parent
ffe9f60358
commit
9905481552
5 changed files with 14659 additions and 10 deletions
|
|
@ -25,6 +25,8 @@
|
|||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "private.h"
|
||||
|
||||
#include <brw_context.h>
|
||||
#include <brw_wm.h> /* brw_new_shader_program is here */
|
||||
|
||||
|
|
@ -36,8 +38,6 @@
|
|||
#include <mesa/program/program.h>
|
||||
#include <glsl/program.h>
|
||||
|
||||
#include "private.h"
|
||||
|
||||
static void
|
||||
fail_if(int cond, const char *format, ...)
|
||||
{
|
||||
|
|
|
|||
8037
src/vulkan/gen75_pack.h
Normal file
8037
src/vulkan/gen75_pack.h
Normal file
File diff suppressed because it is too large
Load diff
6607
src/vulkan/gen7_pack.h
Normal file
6607
src/vulkan/gen7_pack.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -32,6 +32,9 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef __gen_field_functions
|
||||
#define __gen_field_functions
|
||||
|
||||
union __gen_value {
|
||||
float f;
|
||||
uint32_t dw;
|
||||
|
|
@ -74,6 +77,8 @@ __gen_float(float v)
|
|||
#error #define __gen_combine_address before including this file
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define GEN8_3DSTATE_URB_VS_length 0x00000002
|
||||
#define GEN8_3DSTATE_URB_VS_length_bias 0x00000002
|
||||
#define GEN8_3DSTATE_URB_VS_header \
|
||||
|
|
@ -3480,12 +3485,12 @@ struct GEN8_3DSTATE_RASTER {
|
|||
#define Clockwise 0
|
||||
#define CounterClockwise 1
|
||||
uint32_t FrontWinding;
|
||||
#define NUMRASTSAMPLES_0 0
|
||||
#define NUMRASTSAMPLES_1 1
|
||||
#define NUMRASTSAMPLES_2 2
|
||||
#define NUMRASTSAMPLES_4 3
|
||||
#define NUMRASTSAMPLES_8 4
|
||||
#define NUMRASTSAMPLES_16 5
|
||||
#define FSC_NUMRASTSAMPLES_0 0
|
||||
#define FSC_NUMRASTSAMPLES_1 1
|
||||
#define FSC_NUMRASTSAMPLES_2 2
|
||||
#define FSC_NUMRASTSAMPLES_4 3
|
||||
#define FSC_NUMRASTSAMPLES_8 4
|
||||
#define FSC_NUMRASTSAMPLES_16 5
|
||||
uint32_t ForcedSampleCount;
|
||||
#define CULLMODE_BOTH 0
|
||||
#define CULLMODE_NONE 1
|
||||
|
|
@ -8309,7 +8314,6 @@ GEN8_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
|
|||
}
|
||||
|
||||
/* Enum 3D_Prim_Topo_Type */
|
||||
#ifndef _3DPRIM_POINTLIST
|
||||
#define _3DPRIM_POINTLIST 1
|
||||
#define _3DPRIM_LINELIST 2
|
||||
#define _3DPRIM_LINESTRIP 3
|
||||
|
|
@ -8363,7 +8367,6 @@ GEN8_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
|
|||
#define _3DPRIM_PATCHLIST_30 61
|
||||
#define _3DPRIM_PATCHLIST_31 62
|
||||
#define _3DPRIM_PATCHLIST_32 63
|
||||
#endif
|
||||
|
||||
/* Enum 3D_Vertex_Component_Control */
|
||||
#define VFCOMP_NOSTORE 0
|
||||
|
|
|
|||
|
|
@ -390,6 +390,8 @@ __gen_combine_address(struct anv_batch *batch, void *location,
|
|||
}
|
||||
}
|
||||
|
||||
#include "gen7_pack.h"
|
||||
#include "gen75_pack.h"
|
||||
#undef GEN8_3DSTATE_MULTISAMPLE
|
||||
#include "gen8_pack.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue