From f408ee63f89dd3483d5f2d974854d13c96366a2a Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 11 Jun 2026 14:00:28 -0700
Subject: [PATCH] Document that the texture may not be present for GPU text
Also handle this case in testgputext and added 'S' key handling to toggle strikethrough style and 'U' key handling to toggle underline style.
Fixes https://github.com/libsdl-org/SDL_ttf/issues/628
(cherry picked from commit 1abbd07aeda8da762d044dda6c247588e2ef9fc1)
---
examples/testgputext.c | 92 ++++++-
.../shaders/shader-sdf.frag.dxil.h | 14 +-
.../shaders/shader-solid.frag.dxil.h | 238 ++++++++++++++++++
.../shaders/shader-solid.frag.hlsl | 13 +
.../shaders/shader-solid.frag.msl.h | 33 +++
.../shaders/shader-solid.frag.spv.h | 34 +++
.../testgputext/shaders/shader.frag.dxil.h | 16 +-
.../testgputext/shaders/shader.vert.dxil.h | 16 +-
include/SDL3_ttf/SDL_ttf.h | 4 +-
9 files changed, 422 insertions(+), 38 deletions(-)
create mode 100644 examples/testgputext/shaders/shader-solid.frag.dxil.h
create mode 100644 examples/testgputext/shaders/shader-solid.frag.hlsl
create mode 100644 examples/testgputext/shaders/shader-solid.frag.msl.h
create mode 100644 examples/testgputext/shaders/shader-solid.frag.spv.h
diff --git a/examples/testgputext.c b/examples/testgputext.c
index b870da6e..aceb9121 100644
--- a/examples/testgputext.c
+++ b/examples/testgputext.c
@@ -5,12 +5,15 @@
// Shaders
#include "testgputext/shaders/shader.vert.spv.h"
#include "testgputext/shaders/shader.frag.spv.h"
+#include "testgputext/shaders/shader-solid.frag.spv.h"
#include "testgputext/shaders/shader-sdf.frag.spv.h"
#include "testgputext/shaders/shader.vert.dxil.h"
#include "testgputext/shaders/shader.frag.dxil.h"
+#include "testgputext/shaders/shader-solid.frag.dxil.h"
#include "testgputext/shaders/shader-sdf.frag.dxil.h"
#include "testgputext/shaders/shader.vert.msl.h"
#include "testgputext/shaders/shader.frag.msl.h"
+#include "testgputext/shaders/shader-solid.frag.msl.h"
#include "testgputext/shaders/shader-sdf.frag.msl.h"
#define SDL_MATH_3D_IMPLEMENTATION
@@ -24,6 +27,7 @@ typedef enum
{
VertexShader,
PixelShader,
+ PixelShader_Solid,
PixelShader_SDF,
} Shader;
@@ -46,6 +50,7 @@ typedef struct Context
SDL_GPUDevice *device;
SDL_Window *window;
SDL_GPUGraphicsPipeline *pipeline;
+ SDL_GPUGraphicsPipeline *solid_pipeline;
SDL_GPUBuffer *vertex_buffer;
SDL_GPUBuffer *index_buffer;
SDL_GPUTransferBuffer *transfer_buffer;
@@ -106,6 +111,11 @@ SDL_GPUShader *load_shader(
createinfo.code_size = shader_frag_dxil_len;
createinfo.entrypoint = "PSMain";
break;
+ case PixelShader_Solid:
+ createinfo.code = shader_solid_frag_dxil;
+ createinfo.code_size = shader_solid_frag_dxil_len;
+ createinfo.entrypoint = "PSMain";
+ break;
case PixelShader_SDF:
createinfo.code = shader_sdf_frag_dxil;
createinfo.code_size = shader_sdf_frag_dxil_len;
@@ -125,6 +135,11 @@ SDL_GPUShader *load_shader(
createinfo.code_size = shader_frag_msl_len;
createinfo.entrypoint = "main0";
break;
+ case PixelShader_Solid:
+ createinfo.code = shader_solid_frag_msl;
+ createinfo.code_size = shader_solid_frag_msl_len;
+ createinfo.entrypoint = "main0";
+ break;
case PixelShader_SDF:
createinfo.code = shader_sdf_frag_msl;
createinfo.code_size = shader_sdf_frag_msl_len;
@@ -144,6 +159,11 @@ SDL_GPUShader *load_shader(
createinfo.code_size = shader_frag_spv_len;
createinfo.entrypoint = "main";
break;
+ case PixelShader_Solid:
+ createinfo.code = shader_solid_frag_spv;
+ createinfo.code_size = shader_solid_frag_spv_len;
+ createinfo.entrypoint = "main";
+ break;
case PixelShader_SDF:
createinfo.code = shader_sdf_frag_spv;
createinfo.code_size = shader_sdf_frag_spv_len;
@@ -163,13 +183,14 @@ SDL_GPUShader *load_shader(
void queue_text_sequence(GeometryData *geometry_data, TTF_GPUAtlasDrawSequence *sequence, SDL_FColor *colour)
{
for (int i = 0; i < sequence->num_vertices; i++) {
- Vertex vert;
- const SDL_FPoint pos = sequence->xy[i];
- vert.pos = (Vec3){ pos.x, pos.y, 0.0f };
- vert.colour = *colour;
- vert.uv = sequence->uv[i];
-
- geometry_data->vertices[geometry_data->vertex_count + i] = vert;
+ Vertex *vert = &geometry_data->vertices[geometry_data->vertex_count + i];
+ const SDL_FPoint *pos = &sequence->xy[i];
+ vert->pos.x = pos->x;
+ vert->pos.y = pos->y;
+ vert->colour = *colour;
+ if (sequence->uv) {
+ vert->uv = sequence->uv[i];
+ }
}
SDL_memcpy(geometry_data->indices + geometry_data->index_count, sequence->indices, sequence->num_indices * sizeof(int));
@@ -235,6 +256,7 @@ void draw(Context *context, SDL_Mat4X4 *matrices, int num_matrices, TTF_GPUAtlas
SDL_GPURenderPass *render_pass = SDL_BeginGPURenderPass(context->cmd_buf, &colour_target_info, 1, NULL);
+ bool solid_pipeline = false;
SDL_BindGPUGraphicsPipeline(render_pass, context->pipeline);
SDL_BindGPUVertexBuffers(
render_pass, 0,
@@ -250,11 +272,23 @@ void draw(Context *context, SDL_Mat4X4 *matrices, int num_matrices, TTF_GPUAtlas
int index_offset = 0, vertex_offset = 0;
for (TTF_GPUAtlasDrawSequence *seq = draw_sequence; seq != NULL; seq = seq->next) {
- SDL_BindGPUFragmentSamplers(
- render_pass, 0,
- &(SDL_GPUTextureSamplerBinding){
- .texture = seq->atlas_texture, .sampler = context->sampler },
- 1);
+ if (seq->atlas_texture) {
+ if (solid_pipeline) {
+ SDL_BindGPUGraphicsPipeline(render_pass, context->pipeline);
+ solid_pipeline = false;
+ }
+
+ SDL_BindGPUFragmentSamplers(
+ render_pass, 0,
+ &(SDL_GPUTextureSamplerBinding){
+ .texture = seq->atlas_texture, .sampler = context->sampler },
+ 1);
+ } else {
+ if (!solid_pipeline) {
+ SDL_BindGPUGraphicsPipeline(render_pass, context->solid_pipeline);
+ solid_pipeline = true;
+ }
+ }
SDL_DrawGPUIndexedPrimitives(render_pass, seq->num_indices, 1, index_offset, vertex_offset, 0);
@@ -272,6 +306,7 @@ void free_context(Context *context)
SDL_ReleaseGPUBuffer(context->device, context->vertex_buffer);
SDL_ReleaseGPUBuffer(context->device, context->index_buffer);
SDL_ReleaseGPUGraphicsPipeline(context->device, context->pipeline);
+ SDL_ReleaseGPUGraphicsPipeline(context->device, context->solid_pipeline);
SDL_ReleaseWindowFromGPUDevice(context->device, context->window);
SDL_DestroyGPUDevice(context->device);
SDL_DestroyWindow(context->window);
@@ -281,6 +316,7 @@ int main(int argc, char *argv[])
{
const char *font_filename = NULL;
bool use_SDF = false;
+ int style;
(void)argc;
for (int i = 1; argv[i]; ++i) {
@@ -310,6 +346,7 @@ int main(int argc, char *argv[])
SDL_GPUShader *vertex_shader = check_error_ptr(load_shader(context.device, VertexShader, 0, 1, 0, 0));
SDL_GPUShader *fragment_shader = check_error_ptr(load_shader(context.device, use_SDF ? PixelShader_SDF : PixelShader, 1, 0, 0, 0));
+ SDL_GPUShader *solid_shader = check_error_ptr(load_shader(context.device, PixelShader_Solid, 1, 0, 0, 0));
SDL_GPUGraphicsPipelineCreateInfo pipeline_create_info = {
.target_info = {
@@ -361,6 +398,8 @@ int main(int argc, char *argv[])
.fragment_shader = fragment_shader
};
context.pipeline = check_error_ptr(SDL_CreateGPUGraphicsPipeline(context.device, &pipeline_create_info));
+ pipeline_create_info.fragment_shader = solid_shader;
+ context.solid_pipeline = check_error_ptr(SDL_CreateGPUGraphicsPipeline(context.device, &pipeline_create_info));
SDL_ReleaseGPUShader(context.device, vertex_shader);
SDL_ReleaseGPUShader(context.device, fragment_shader);
@@ -423,8 +462,35 @@ int main(int argc, char *argv[])
while (SDL_PollEvent(&event)) {
switch (event.type) {
case SDL_EVENT_KEY_UP:
- if (event.key.key == SDLK_ESCAPE) {
+ switch (event.key.key) {
+ case SDLK_S:
+ // Toggle strike-through style
+ style = TTF_GetFontStyle(font);
+ if (style & TTF_STYLE_STRIKETHROUGH) {
+ style &= ~TTF_STYLE_STRIKETHROUGH;
+ } else {
+ style |= TTF_STYLE_STRIKETHROUGH;
+ }
+ TTF_SetFontStyle(font, style);
+ break;
+
+ case SDLK_U:
+ // Toggle underline style
+ style = TTF_GetFontStyle(font);
+ if (style & TTF_STYLE_UNDERLINE) {
+ style &= ~TTF_STYLE_UNDERLINE;
+ } else {
+ style |= TTF_STYLE_UNDERLINE;
+ }
+ TTF_SetFontStyle(font, style);
+ break;
+
+ case SDLK_ESCAPE:
running = false;
+ break;
+
+ default:
+ break;
}
break;
case SDL_EVENT_QUIT:
diff --git a/examples/testgputext/shaders/shader-sdf.frag.dxil.h b/examples/testgputext/shaders/shader-sdf.frag.dxil.h
index 5d2547a7..91a574e3 100644
--- a/examples/testgputext/shaders/shader-sdf.frag.dxil.h
+++ b/examples/testgputext/shaders/shader-sdf.frag.dxil.h
@@ -1,6 +1,6 @@
static const unsigned char shader_sdf_frag_dxil[] = {
- 0x44, 0x58, 0x42, 0x43, 0xac, 0x2e, 0xf5, 0x28, 0x61, 0xcf, 0x6c, 0xaa,
- 0xb4, 0xaa, 0xd1, 0x6c, 0x85, 0xed, 0x95, 0xe3, 0x01, 0x00, 0x00, 0x00,
+ 0x44, 0x58, 0x42, 0x43, 0xa2, 0xca, 0x22, 0xd4, 0xe6, 0x69, 0xed, 0x78,
+ 0x66, 0xe0, 0x21, 0x34, 0x1a, 0x60, 0x33, 0x0d, 0x01, 0x00, 0x00, 0x00,
0x84, 0x0f, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00,
0x4c, 0x00, 0x00, 0x00, 0xa8, 0x00, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x00,
0xd8, 0x01, 0x00, 0x00, 0x4c, 0x08, 0x00, 0x00, 0x68, 0x08, 0x00, 0x00,
@@ -104,8 +104,8 @@ static const unsigned char shader_sdf_frag_dxil[] = {
0x00, 0x00, 0x00, 0x00, 0x79, 0x18, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x1a, 0x03, 0x4c, 0x90, 0x46, 0x02, 0x13, 0xc4, 0x8f, 0x0c, 0x6f, 0x0c,
0x05, 0x4e, 0x2e, 0xcd, 0x2e, 0x8c, 0xae, 0x2c, 0x05, 0x24, 0xc6, 0x05,
- 0xc7, 0x05, 0xc6, 0x25, 0x06, 0x04, 0x25, 0x6c, 0x6c, 0xc6, 0x26, 0xec,
- 0x26, 0xe7, 0x26, 0x65, 0x43, 0x10, 0x4c, 0x10, 0x08, 0x63, 0x82, 0x40,
+ 0xc7, 0x05, 0xc6, 0x25, 0x06, 0x04, 0x85, 0xcc, 0x26, 0x46, 0xec, 0x66,
+ 0xc6, 0xac, 0x26, 0x65, 0x43, 0x10, 0x4c, 0x10, 0x08, 0x63, 0x82, 0x40,
0x1c, 0x1b, 0x84, 0x81, 0xd8, 0x20, 0x10, 0x04, 0x05, 0xb8, 0xb9, 0x09,
0x02, 0x81, 0x6c, 0x18, 0x0e, 0x84, 0x98, 0x20, 0x60, 0x15, 0x07, 0xba,
0x32, 0xbc, 0x09, 0x02, 0x91, 0x4c, 0x10, 0x08, 0x65, 0x83, 0x40, 0x34,
@@ -177,8 +177,8 @@ static const unsigned char shader_sdf_frag_dxil[] = {
0x6d, 0x03, 0xcf, 0x70, 0xf9, 0xce, 0xe3, 0x53, 0x0d, 0x10, 0x61, 0x7e,
0x71, 0xdb, 0x06, 0x40, 0x30, 0x00, 0xd2, 0x00, 0x00, 0x00, 0x00, 0x00,
0x48, 0x41, 0x53, 0x48, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x25, 0xe6, 0x79, 0x2d, 0x0e, 0x6b, 0x12, 0x67, 0xa9, 0xac, 0x59, 0xb4,
- 0x1e, 0x07, 0xeb, 0x3d, 0x44, 0x58, 0x49, 0x4c, 0x14, 0x07, 0x00, 0x00,
+ 0xac, 0x04, 0x5f, 0xe0, 0x5c, 0xda, 0xd7, 0x4e, 0xa1, 0x90, 0x96, 0x71,
+ 0x6b, 0x07, 0x81, 0x98, 0x44, 0x58, 0x49, 0x4c, 0x14, 0x07, 0x00, 0x00,
0x60, 0x00, 0x00, 0x00, 0xc5, 0x01, 0x00, 0x00, 0x44, 0x58, 0x49, 0x4c,
0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0xfc, 0x06, 0x00, 0x00,
0x42, 0x43, 0xc0, 0xde, 0x21, 0x0c, 0x00, 0x00, 0xbc, 0x01, 0x00, 0x00,
@@ -244,7 +244,7 @@ static const unsigned char shader_sdf_frag_dxil[] = {
0x79, 0x18, 0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x1a, 0x03, 0x4c, 0x90,
0x46, 0x02, 0x13, 0xc4, 0x8f, 0x0c, 0x6f, 0x0c, 0x05, 0x4e, 0x2e, 0xcd,
0x2e, 0x8c, 0xae, 0x2c, 0x05, 0x24, 0xc6, 0x05, 0xc7, 0x05, 0xc6, 0x25,
- 0x06, 0x04, 0x25, 0x6c, 0x6c, 0xc6, 0x26, 0xec, 0x26, 0xe7, 0x26, 0x65,
+ 0x06, 0x04, 0x85, 0xcc, 0x26, 0x46, 0xec, 0x66, 0xc6, 0xac, 0x26, 0x65,
0x43, 0x10, 0x4c, 0x10, 0x08, 0x63, 0x82, 0x40, 0x1c, 0x1b, 0x84, 0x81,
0x98, 0x20, 0x10, 0xc8, 0x06, 0x61, 0x30, 0x28, 0xc0, 0xcd, 0x4d, 0x10,
0x88, 0x64, 0xc3, 0x80, 0x24, 0xc4, 0x04, 0x01, 0x9b, 0x08, 0x4c, 0x10,
diff --git a/examples/testgputext/shaders/shader-solid.frag.dxil.h b/examples/testgputext/shaders/shader-solid.frag.dxil.h
new file mode 100644
index 00000000..9c7af390
--- /dev/null
+++ b/examples/testgputext/shaders/shader-solid.frag.dxil.h
@@ -0,0 +1,238 @@
+static const unsigned char shader_solid_frag_dxil[] = {
+ 0x44, 0x58, 0x42, 0x43, 0x1c, 0x44, 0x11, 0xee, 0x68, 0xc9, 0x5a, 0xe4,
+ 0x5a, 0xa8, 0x11, 0xfc, 0x1f, 0xa9, 0xd6, 0x02, 0x01, 0x00, 0x00, 0x00,
+ 0x04, 0x0b, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00,
+ 0x4c, 0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0xc4, 0x00, 0x00, 0x00,
+ 0x58, 0x01, 0x00, 0x00, 0x0c, 0x06, 0x00, 0x00, 0x28, 0x06, 0x00, 0x00,
+ 0x53, 0x46, 0x49, 0x30, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x49, 0x53, 0x47, 0x31, 0x34, 0x00, 0x00, 0x00,
+ 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52, 0x44,
+ 0x00, 0x00, 0x00, 0x00, 0x4f, 0x53, 0x47, 0x31, 0x34, 0x00, 0x00, 0x00,
+ 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00,
+ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x53, 0x56, 0x5f, 0x54, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x00, 0x00, 0x00, 0x50, 0x53, 0x56, 0x30, 0x8c, 0x00, 0x00, 0x00,
+ 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01,
+ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x00, 0x00, 0x00, 0x00, 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52,
+ 0x44, 0x00, 0x6d, 0x61, 0x69, 0x6e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x44, 0x00, 0x03, 0x02, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x44, 0x10,
+ 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
+ 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x53, 0x54, 0x41, 0x54,
+ 0xac, 0x04, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x2b, 0x01, 0x00, 0x00,
+ 0x44, 0x58, 0x49, 0x4c, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
+ 0x94, 0x04, 0x00, 0x00, 0x42, 0x43, 0xc0, 0xde, 0x21, 0x0c, 0x00, 0x00,
+ 0x22, 0x01, 0x00, 0x00, 0x0b, 0x82, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00,
+ 0x13, 0x00, 0x00, 0x00, 0x07, 0x81, 0x23, 0x91, 0x41, 0xc8, 0x04, 0x49,
+ 0x06, 0x10, 0x32, 0x39, 0x92, 0x01, 0x84, 0x0c, 0x25, 0x05, 0x08, 0x19,
+ 0x1e, 0x04, 0x8b, 0x62, 0x80, 0x10, 0x45, 0x02, 0x42, 0x92, 0x0b, 0x42,
+ 0x84, 0x10, 0x32, 0x14, 0x38, 0x08, 0x18, 0x4b, 0x0a, 0x32, 0x42, 0x88,
+ 0x48, 0x90, 0x14, 0x20, 0x43, 0x46, 0x88, 0xa5, 0x00, 0x19, 0x32, 0x42,
+ 0xe4, 0x48, 0x0e, 0x90, 0x11, 0x22, 0xc4, 0x50, 0x41, 0x51, 0x81, 0x8c,
+ 0xe1, 0x83, 0xe5, 0x8a, 0x04, 0x21, 0x46, 0x06, 0x51, 0x18, 0x00, 0x00,
+ 0x06, 0x00, 0x00, 0x00, 0x1b, 0x8c, 0xe0, 0xff, 0xff, 0xff, 0xff, 0x07,
+ 0x40, 0x02, 0xa8, 0x0d, 0x84, 0xf0, 0xff, 0xff, 0xff, 0xff, 0x03, 0x20,
+ 0x01, 0x00, 0x00, 0x00, 0x49, 0x18, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
+ 0x13, 0x82, 0x60, 0x42, 0x20, 0x00, 0x00, 0x00, 0x89, 0x20, 0x00, 0x00,
+ 0x0f, 0x00, 0x00, 0x00, 0x32, 0x22, 0x08, 0x09, 0x20, 0x64, 0x85, 0x04,
+ 0x13, 0x22, 0xa4, 0x84, 0x04, 0x13, 0x22, 0xe3, 0x84, 0xa1, 0x90, 0x14,
+ 0x12, 0x4c, 0x88, 0x8c, 0x0b, 0x84, 0x84, 0x4c, 0x10, 0x30, 0x23, 0x00,
+ 0x25, 0x00, 0x8a, 0x19, 0x80, 0x39, 0x02, 0x30, 0x98, 0x23, 0x40, 0x8a,
+ 0x31, 0x44, 0x54, 0x44, 0x56, 0x0c, 0x20, 0xa2, 0x1a, 0xc2, 0x81, 0x80,
+ 0x34, 0x20, 0x00, 0x00, 0x13, 0x14, 0x72, 0xc0, 0x87, 0x74, 0x60, 0x87,
+ 0x36, 0x68, 0x87, 0x79, 0x68, 0x03, 0x72, 0xc0, 0x87, 0x0d, 0xaf, 0x50,
+ 0x0e, 0x6d, 0xd0, 0x0e, 0x7a, 0x50, 0x0e, 0x6d, 0x00, 0x0f, 0x7a, 0x30,
+ 0x07, 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x6d, 0x90, 0x0e, 0x71, 0xa0,
+ 0x07, 0x73, 0x20, 0x07, 0x6d, 0x90, 0x0e, 0x78, 0xa0, 0x07, 0x73, 0x20,
+ 0x07, 0x6d, 0x90, 0x0e, 0x71, 0x60, 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0,
+ 0x06, 0xe9, 0x30, 0x07, 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x6d, 0x90,
+ 0x0e, 0x76, 0x40, 0x07, 0x7a, 0x60, 0x07, 0x74, 0xd0, 0x06, 0xe6, 0x10,
+ 0x07, 0x76, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x6d, 0x60, 0x0e, 0x73, 0x20,
+ 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06, 0xe6, 0x60, 0x07, 0x74, 0xa0,
+ 0x07, 0x76, 0x40, 0x07, 0x6d, 0xe0, 0x0e, 0x78, 0xa0, 0x07, 0x71, 0x60,
+ 0x07, 0x7a, 0x30, 0x07, 0x72, 0xa0, 0x07, 0x76, 0x40, 0x07, 0x43, 0x9e,
+ 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86,
+ 0x3c, 0x06, 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x0c, 0x79, 0x10, 0x20, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0xc8, 0x02, 0x01, 0x0b, 0x00, 0x00, 0x00, 0x32, 0x1e, 0x98, 0x14,
+ 0x19, 0x11, 0x4c, 0x90, 0x8c, 0x09, 0x26, 0x47, 0xc6, 0x04, 0x43, 0xa2,
+ 0x12, 0x18, 0x01, 0x28, 0x86, 0x32, 0x28, 0x8f, 0x92, 0x28, 0x04, 0xaa,
+ 0x92, 0x18, 0x01, 0x28, 0x82, 0x42, 0x28, 0x10, 0xda, 0xb1, 0x0c, 0x82,
+ 0x08, 0x04, 0x02, 0x01, 0x79, 0x18, 0x00, 0x00, 0x58, 0x00, 0x00, 0x00,
+ 0x1a, 0x03, 0x4c, 0x90, 0x46, 0x02, 0x13, 0xc4, 0x8f, 0x0c, 0x6f, 0x0c,
+ 0x05, 0x4e, 0x2e, 0xcd, 0x2e, 0x8c, 0xae, 0x2c, 0x05, 0x24, 0xc6, 0x05,
+ 0xc7, 0x05, 0xc6, 0x25, 0x06, 0x04, 0x85, 0xcc, 0x26, 0x46, 0xec, 0x66,
+ 0xc6, 0xac, 0x26, 0x65, 0x43, 0x10, 0x4c, 0x10, 0x88, 0x61, 0x82, 0x40,
+ 0x10, 0x1b, 0x84, 0x81, 0xd8, 0x20, 0x10, 0x04, 0x05, 0xb8, 0xb9, 0x09,
+ 0x02, 0x51, 0x6c, 0x18, 0x0e, 0x84, 0x98, 0x20, 0x08, 0xc0, 0x06, 0x60,
+ 0xc3, 0x40, 0x2c, 0xcb, 0x86, 0x80, 0xd9, 0x30, 0x0c, 0x4a, 0x33, 0x41,
+ 0x58, 0x9e, 0x0d, 0xc1, 0x43, 0xa2, 0x2d, 0x2c, 0xcd, 0x8d, 0x08, 0x55,
+ 0x11, 0xd6, 0xd0, 0xd3, 0x93, 0x14, 0xd1, 0x04, 0xa1, 0x50, 0x26, 0x08,
+ 0xc5, 0xb2, 0x21, 0x20, 0x26, 0x08, 0x05, 0x33, 0x41, 0x28, 0x9a, 0x09,
+ 0x02, 0x61, 0x4c, 0x10, 0x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 0x20, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
+ 0x16, 0x30, 0x0d, 0x97, 0xef, 0x3c, 0xfe, 0xe2, 0x00, 0x83, 0xd8, 0x3c,
+ 0xd4, 0xe4, 0x17, 0xb7, 0x6d, 0x02, 0xd5, 0x70, 0xf9, 0xce, 0xe3, 0x4b,
+ 0x93, 0x13, 0x11, 0x28, 0x35, 0x3d, 0xd4, 0xe4, 0x17, 0xb7, 0x6d, 0x00,
+ 0x04, 0x03, 0x20, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x48, 0x41, 0x53, 0x48, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xfe, 0xb6, 0x8c, 0x2f, 0x3d, 0xe4, 0x95, 0x85, 0x35, 0xae, 0x87, 0x16,
+ 0x40, 0x72, 0x24, 0x1f, 0x44, 0x58, 0x49, 0x4c, 0xd4, 0x04, 0x00, 0x00,
+ 0x60, 0x00, 0x00, 0x00, 0x35, 0x01, 0x00, 0x00, 0x44, 0x58, 0x49, 0x4c,
+ 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0xbc, 0x04, 0x00, 0x00,
+ 0x42, 0x43, 0xc0, 0xde, 0x21, 0x0c, 0x00, 0x00, 0x2c, 0x01, 0x00, 0x00,
+ 0x0b, 0x82, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00,
+ 0x07, 0x81, 0x23, 0x91, 0x41, 0xc8, 0x04, 0x49, 0x06, 0x10, 0x32, 0x39,
+ 0x92, 0x01, 0x84, 0x0c, 0x25, 0x05, 0x08, 0x19, 0x1e, 0x04, 0x8b, 0x62,
+ 0x80, 0x10, 0x45, 0x02, 0x42, 0x92, 0x0b, 0x42, 0x84, 0x10, 0x32, 0x14,
+ 0x38, 0x08, 0x18, 0x4b, 0x0a, 0x32, 0x42, 0x88, 0x48, 0x90, 0x14, 0x20,
+ 0x43, 0x46, 0x88, 0xa5, 0x00, 0x19, 0x32, 0x42, 0xe4, 0x48, 0x0e, 0x90,
+ 0x11, 0x22, 0xc4, 0x50, 0x41, 0x51, 0x81, 0x8c, 0xe1, 0x83, 0xe5, 0x8a,
+ 0x04, 0x21, 0x46, 0x06, 0x51, 0x18, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
+ 0x1b, 0x8c, 0xe0, 0xff, 0xff, 0xff, 0xff, 0x07, 0x40, 0x02, 0xa8, 0x0d,
+ 0x84, 0xf0, 0xff, 0xff, 0xff, 0xff, 0x03, 0x20, 0x01, 0x00, 0x00, 0x00,
+ 0x49, 0x18, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x13, 0x82, 0x60, 0x42,
+ 0x20, 0x00, 0x00, 0x00, 0x89, 0x20, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00,
+ 0x32, 0x22, 0x08, 0x09, 0x20, 0x64, 0x85, 0x04, 0x13, 0x22, 0xa4, 0x84,
+ 0x04, 0x13, 0x22, 0xe3, 0x84, 0xa1, 0x90, 0x14, 0x12, 0x4c, 0x88, 0x8c,
+ 0x0b, 0x84, 0x84, 0x4c, 0x10, 0x30, 0x23, 0x00, 0x25, 0x00, 0x8a, 0x19,
+ 0x80, 0x39, 0x02, 0x30, 0x98, 0x23, 0x40, 0x8a, 0x31, 0x44, 0x54, 0x44,
+ 0x56, 0x0c, 0x20, 0xa2, 0x1a, 0xc2, 0x81, 0x80, 0x34, 0x20, 0x00, 0x00,
+ 0x13, 0x14, 0x72, 0xc0, 0x87, 0x74, 0x60, 0x87, 0x36, 0x68, 0x87, 0x79,
+ 0x68, 0x03, 0x72, 0xc0, 0x87, 0x0d, 0xaf, 0x50, 0x0e, 0x6d, 0xd0, 0x0e,
+ 0x7a, 0x50, 0x0e, 0x6d, 0x00, 0x0f, 0x7a, 0x30, 0x07, 0x72, 0xa0, 0x07,
+ 0x73, 0x20, 0x07, 0x6d, 0x90, 0x0e, 0x71, 0xa0, 0x07, 0x73, 0x20, 0x07,
+ 0x6d, 0x90, 0x0e, 0x78, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x6d, 0x90, 0x0e,
+ 0x71, 0x60, 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06, 0xe9, 0x30, 0x07,
+ 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x6d, 0x90, 0x0e, 0x76, 0x40, 0x07,
+ 0x7a, 0x60, 0x07, 0x74, 0xd0, 0x06, 0xe6, 0x10, 0x07, 0x76, 0xa0, 0x07,
+ 0x73, 0x20, 0x07, 0x6d, 0x60, 0x0e, 0x73, 0x20, 0x07, 0x7a, 0x30, 0x07,
+ 0x72, 0xd0, 0x06, 0xe6, 0x60, 0x07, 0x74, 0xa0, 0x07, 0x76, 0x40, 0x07,
+ 0x6d, 0xe0, 0x0e, 0x78, 0xa0, 0x07, 0x71, 0x60, 0x07, 0x7a, 0x30, 0x07,
+ 0x72, 0xa0, 0x07, 0x76, 0x40, 0x07, 0x43, 0x9e, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86, 0x3c, 0x06, 0x10, 0x00,
+ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x79, 0x10, 0x20,
+ 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc8, 0x02, 0x01,
+ 0x0b, 0x00, 0x00, 0x00, 0x32, 0x1e, 0x98, 0x10, 0x19, 0x11, 0x4c, 0x90,
+ 0x8c, 0x09, 0x26, 0x47, 0xc6, 0x04, 0x43, 0xa2, 0x12, 0x18, 0x01, 0x28,
+ 0x88, 0x62, 0x28, 0x83, 0xf2, 0xa0, 0x2a, 0x89, 0x11, 0x80, 0x22, 0x28,
+ 0x84, 0x02, 0xa1, 0x1d, 0xcb, 0x20, 0x88, 0x40, 0x20, 0x10, 0x00, 0x00,
+ 0x79,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x07, 0x7c, 0x70, 0x03, 0x72, 0x10, 0x87,
+ 0x73, 0x70, 0x03, 0x7b, 0x08, 0x07, 0x79, 0x60, 0x87, 0x70, 0xc8, 0x87,
+ 0x77, 0xa8, 0x07, 0x7a, 0x98, 0x81, 0x3c, 0xe4, 0x80, 0x0f, 0x6e, 0x40,
+ 0x0f, 0xe5, 0xd0, 0x0e, 0xf0, 0x00, 0x00, 0x00, 0x71, 0x20, 0x00, 0x00,
+ 0x0b, 0x00, 0x00, 0x00, 0x16, 0x30, 0x0d, 0x97, 0xef, 0x3c, 0xfe, 0xe2,
+ 0x00, 0x83, 0xd8, 0x3c, 0xd4, 0xe4, 0x17, 0xb7, 0x6d, 0x02, 0xd5, 0x70,
+ 0xf9, 0xce, 0xe3, 0x4b, 0x93, 0x13, 0x11, 0x28, 0x35, 0x3d, 0xd4, 0xe4,
+ 0x17, 0xb7, 0x6d, 0x00, 0x04, 0x03, 0x20, 0x0d, 0x00, 0x00, 0x00, 0x00,
+ 0x61, 0x20, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x13, 0x04, 0x41, 0x2c,
+ 0x10, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x44, 0x85, 0x30, 0x03,
+ 0x50, 0x0a, 0x54, 0x25, 0x50, 0x06, 0x00, 0x00, 0x23, 0x06, 0x09, 0x00,
+ 0x82, 0x60, 0x60, 0x4c, 0x05, 0x04, 0x29, 0xc4, 0x88, 0x41, 0x02, 0x80,
+ 0x20, 0x18, 0x18, 0x94, 0x11, 0x45, 0x43, 0x31, 0x62, 0x90, 0x00, 0x20,
+ 0x08, 0x06, 0x46, 0x75, 0x48, 0xd2, 0x62, 0x8c, 0x18, 0x24, 0x00, 0x08,
+ 0x82, 0x81, 0x61, 0x21, 0xd3, 0x44, 0x1c, 0x23, 0x06, 0x09, 0x00, 0x82,
+ 0x60, 0x80, 0x58, 0x07, 0x45, 0x39, 0xc4, 0x88, 0x41, 0x02, 0x80, 0x20,
+ 0x18, 0x20, 0xd6, 0x41, 0x51, 0xc6, 0x30, 0x62, 0x90, 0x00, 0x20, 0x08,
+ 0x06, 0x88, 0x75, 0x50, 0x54, 0x23, 0x8c, 0x18, 0x24, 0x00, 0x08, 0x82,
+ 0x01, 0x62, 0x1d, 0x14, 0x55, 0x04, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00
+};
+static const unsigned int shader_solid_frag_dxil_len = 2820;
diff --git a/examples/testgputext/shaders/shader-solid.frag.hlsl b/examples/testgputext/shaders/shader-solid.frag.hlsl
new file mode 100644
index 00000000..8affb511
--- /dev/null
+++ b/examples/testgputext/shaders/shader-solid.frag.hlsl
@@ -0,0 +1,13 @@
+struct PSInput {
+ float4 color : TEXCOORD0;
+};
+
+struct PSOutput {
+ float4 color : SV_Target;
+};
+
+PSOutput main(PSInput input) {
+ PSOutput output;
+ output.color = input.color;
+ return output;
+}
diff --git a/examples/testgputext/shaders/shader-solid.frag.msl.h b/examples/testgputext/shaders/shader-solid.frag.msl.h
new file m
(Patch may be truncated, please check the link at the top of this post.)